Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SQL-Server instructions to appendex #137

Open
1 of 2 tasks
d6y opened this issue Mar 6, 2017 · 0 comments
Open
1 of 2 tasks

Add SQL-Server instructions to appendex #137

d6y opened this issue Mar 6, 2017 · 0 comments

Comments

@d6y
Copy link
Contributor

d6y commented Mar 6, 2017

See email to hello subject Essential Slick, 3 March 2017.

  • add example to appendex
  • append to the list of credits .

Hello!
Spent too much time coming up with a Slick configuration to use with SQL Server.
I would really like to see Appendix A of your book expanded to include many more databases and examples.
Here are my results for setting up SQL Server with Slick: (application.conf, build.sbt)
The above has three possible options for the JDBC driver. All three, so far, seem to work.
I've successfully connected with the sqlserver, sqlserverCP and sqlserverCP1 configurations.
A couple more details:
import slick.jdbc.SQLServerProfile.api._
val db = Database.forConfig("sqlserverCP1")
The only test I've done so far is a simple database query.
Thanks for your book!
Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants