Author: stliu
Date: 2009-12-24 09:09:27 -0500 (Thu, 24 Dec 2009)
New Revision: 18331
Modified:
core/trunk/core/src/main/java/org/hibernate/dialect/DerbyDialect.java
Log:
HHH-2347 HHH-1918 Improvement to DerbyDialect default identy generation mode
Modified: core/trunk/core/src/main/java/org/hibernate/dialect/DerbyDialect.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/dialect/DerbyDialect.java 2009-12-24
13:49:28 UTC (rev 18330)
+++ core/trunk/core/src/main/java/org/hibernate/dialect/DerbyDialect.java 2009-12-24
14:09:27 UTC (rev 18331)
@@ -81,12 +81,12 @@
return ", ";
}
- /**
- * This is different in Cloudscape to DB2.
- */
- public String getIdentityColumnString() {
- return "not null generated always as identity"; //$NON-NLS-1
- }
+// /**
+// * This is different in Cloudscape to DB2.
+// */
+// public String getIdentityColumnString() {
+// return "not null generated always as identity"; //$NON-NLS-1
+// }
/**
* Return the case statement modified for Cloudscape.
@@ -99,9 +99,9 @@
return true;
}
- public Class getNativeIdentifierGeneratorClass() {
- return TableHiLoGenerator.class;
- }
+// public Class getNativeIdentifierGeneratorClass() {
+// return TableHiLoGenerator.class;
+// }
public boolean supportsSequences() {
return false;