HHH-2347 HHH-1918 Improvement to DerbyDialect default identy generation mode

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18331 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2009-12-24 14:09:27 +00:00
parent fb121412b6
commit ec8421b32d
1 changed files with 9 additions and 9 deletions

View File

@ -81,12 +81,12 @@ public class DerbyDialect extends DB2Dialect {
return ", "; return ", ";
} }
/** // /**
* This is different in Cloudscape to DB2. // * This is different in Cloudscape to DB2.
*/ // */
public String getIdentityColumnString() { // public String getIdentityColumnString() {
return "not null generated always as identity"; //$NON-NLS-1 // return "not null generated always as identity"; //$NON-NLS-1
} // }
/** /**
* Return the case statement modified for Cloudscape. * Return the case statement modified for Cloudscape.
@ -99,9 +99,9 @@ public class DerbyDialect extends DB2Dialect {
return true; return true;
} }
public Class getNativeIdentifierGeneratorClass() { // public Class getNativeIdentifierGeneratorClass() {
return TableHiLoGenerator.class; // return TableHiLoGenerator.class;
} // }
public boolean supportsSequences() { public boolean supportsSequences() {
return false; return false;