Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

play framework connection via windows sql server

in application.conf
db {
default.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver,
default.url="jdbc:sqlserver://127.0.0.1:1541;databaseName=yourdatabasename",
default.username=username,
default.password="password"
}

port of your mssql server you can find in "Sql Server Configuration Manager", my was mssql server was using port 1541
Source by groups.google.com #
 
PREVIOUS NEXT
Tagged: #play #framework #connection #windows #sql #server
ADD COMMENT
Topic
Name
7+7 =