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 ", ";
|
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;
|
||||||
|
|
Loading…
Reference in New Issue