From ec8421b32de6196aceb4bf8e008e7c740debccad Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Thu, 24 Dec 2009 14:09:27 +0000 Subject: [PATCH] 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 --- .../org/hibernate/dialect/DerbyDialect.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/src/main/java/org/hibernate/dialect/DerbyDialect.java b/core/src/main/java/org/hibernate/dialect/DerbyDialect.java index 19d41197aa..bcc6090697 100755 --- a/core/src/main/java/org/hibernate/dialect/DerbyDialect.java +++ b/core/src/main/java/org/hibernate/dialect/DerbyDialect.java @@ -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;