Can't start a cloned connection exception
March 20th, 2009
Applies to:
DBUnit
Description:
Occurs when using InsertIdentityOperation
Cause:
SelectMethod=cursor parameter is missing in the JDBC connection string.
Applies to:
DBUnit
Description:
Occurs when using InsertIdentityOperation
Cause:
SelectMethod=cursor parameter is missing in the JDBC connection string.
JAVA-DBUnit j, lrm-00118: syntax error at '=' at the end of input
If you are using the Microsoft driver (i.e. com.microsoft.jdbc.sqlserver.SQLServerDriver), you need to use the SelectMethod=cursor parameter in the JDBC connection string (as outlined by this JDBC thread). Your database Url would look something like:
jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=mydb;SelectMethod=cursor