cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From torehal...@apache.org
Subject svn commit: r489302 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/sqlserver/SQLServerAdapter.java
Date Thu, 21 Dec 2006 09:49:07 GMT
Author: torehalset
Date: Thu Dec 21 01:49:06 2006
New Revision: 489302

URL: http://svn.apache.org/viewvc?view=rev&rev=489302
Log:
CAY-723: Enable batching on MS SQL Server

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/sqlserver/SQLServerAdapter.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/sqlserver/SQLServerAdapter.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/sqlserver/SQLServerAdapter.java?view=diff&rev=489302&r1=489301&r2=489302
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/sqlserver/SQLServerAdapter.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/sqlserver/SQLServerAdapter.java
Thu Dec 21 01:49:06 2006
@@ -30,7 +30,7 @@
 
 /**
  * Cayenne DbAdapter implementation for <a
- * href="http://www.microsoft.com/sql/default.asp"Microsoft SQL Server </a> engine.
+ * href="http://www.microsoft.com/sql/"Microsoft SQL Server </a> engine.
  * </p>
  * <h3>Microsoft Driver Settings</h3>
  * <p>
@@ -45,8 +45,8 @@
  *       sqlserver.cayenne.adapter = org.apache.cayenne.dba.sqlserver.SQLServerAdapter
  *       sqlserver.jdbc.username = test
  *       sqlserver.jdbc.password = secret
- *       sqlserver.jdbc.url = jdbc:microsoft:sqlserver://192.168.0.65;databaseName=cayenne;SelectMethod=cursor
- *       sqlserver.jdbc.driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
+ *       sqlserver.jdbc.url = jdbc:sqlserver://192.168.0.65;databaseName=cayenne;SelectMethod=cursor
+ *       sqlserver.jdbc.driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  * </pre>
  * 
  * <p>
@@ -87,6 +87,7 @@
         // TODO: i wonder if Sybase supports generated keys... 
         // in this case we need to move this to the super.
         this.setSupportsGeneratedKeys(true);
+        this.setSupportsBatchUpdates(true);
     }
     
 



Mime
View raw message