db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r330902 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/HsqlDbBuilder.java
Date Fri, 04 Nov 2005 21:16:57 GMT
Author: mvdb
Date: Fri Nov  4 13:16:54 2005
New Revision: 330902

URL: http://svn.apache.org/viewcvs?rev=330902&view=rev
Log:
Add call identity to hsqldb.

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/HsqlDbBuilder.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/HsqlDbBuilder.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/HsqlDbBuilder.java?rev=330902&r1=330901&r2=330902&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/HsqlDbBuilder.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/HsqlDbBuilder.java Fri Nov  4
13:16:54 2005
@@ -50,4 +50,14 @@
         print(" IF EXISTS");
         printEndOfStatement();
     }
+
+    /**
+     * @see org.apache.ddlutils.platform.SqlBuilder#getSelectLastInsertId(org.apache.ddlutils.model.Table)
+     */
+    public String getSelectLastInsertId(Table table) 
+    {
+        return "CALL IDENTITY()";
+    }
+    
+    
 }



Mime
View raw message