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 ", ";
}
/**
* 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 @@ public class DerbyDialect extends DB2Dialect {
return true;
}
public Class getNativeIdentifierGeneratorClass() {
return TableHiLoGenerator.class;
}
// public Class getNativeIdentifierGeneratorClass() {
// return TableHiLoGenerator.class;
// }
public boolean supportsSequences() {
return false;