awferreira / c5-db-migration

Automatically exported from code.google.com/p/c5-db-migration
0 stars 0 forks source link

Use of SQLServer JDBC Driver #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I checked out the trunk (at this time it's set to 0.9.9-SNAPSHOT).

The url to use to get a connection is actually the full url, not just the 
"server url".  In my case, com.carbonfive.db.jdbc.schema.AbstractSchemaCommand 
would fail when dropping the database because the Connection is null. When 
using the full "url" instead of the "serverUrl", it works just fine.

Source: http://msdn.microsoft.com/en-us/library/ms378956(v=sql.105).aspx
Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver (sqljdbc4.jar).

Or maybe there's a trick I'm not aware of?

Original issue reported on code.google.com by l...@tripfilms.com on 9 Aug 2012 at 11:30