Monday, January 3, 2011

play framework mssql

For MS SQL server you need to download the right MS SQL driver, put them in the lib directory. Once this is done, you need to specify the following in your application.conf:

db.url=jdbc:microsoft:sqlserver://XX.XX.XXX.XX:YYYY/DB-NAME
db.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
jpa.dialect=org.hibernate.dialect.SQLServerDialect

No comments: