This class disable the MS SQL Server automatic identifier generation for
the execution of inserts.
If you are using the Microsoft driver (i.e.
com.microsoft.jdbc.sqlserver.SQLServerDriver ), you'll need to
use the SelectMethod=cursor parameter in the JDBC connection
string. Your databaseUrl would look something like the following:
jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=mydb;SelectMethod=cursor
Thanks to Jeremy Stein who has submitted multiple patches.
author: Manuel Laflamme author: Eric Pugh version: $Revision: 558 $ since: Apr 9, 2002 |