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:
parent
fb121412b6
commit
ec8421b32d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue