Microsoft SQL Server 2008 R2
.
Created login user.
Default database is set to 'master'
.
Created a database named 'slave'
.
Use JDBC
URL jdbc:sqlserver://localhost:1433;databaseName=slave
All operations performed with this URL are going to the 'master'
database not 'slave'
.
Is there a reason this URL is not overriding the default database? Is it based on the User Mapping?