1.
Download the JDBC driver: http://www.microsoft.com/download/en/details.aspx?id=11774
2.
Getting sqljdbc4.jar from the downloaded file , and copying it to the play project folder, such as: helloworld\lib
3.
Modify the file of application.conf.
db.default.driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" db.default.url="jdbc:sqlserver://localhost\\MSSQLSERVER:1433;databaseName=OneLib;"
db.default.user="sa"
db.default.password="sa"
4.
Restart the project.
Download the JDBC driver: http://www.microsoft.com/download/en/details.aspx?id=11774
2.
Getting sqljdbc4.jar from the downloaded file , and copying it to the play project folder, such as: helloworld\lib
3.
Modify the file of application.conf.
db.default.driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" db.default.url="jdbc:sqlserver://localhost\\MSSQLSERVER:1433;databaseName=OneLib;"
db.default.user="sa"
db.default.password="sa"
4.
Restart the project.