From b5ed7818dcae96feb3aed36f9fc39de1c80eaf2c Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Thu, 24 Dec 2009 13:49:28 +0000 Subject: [PATCH] HHH-4531 Derby dialect should not support comments git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_3@18330 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- core/src/main/java/org/hibernate/dialect/DerbyDialect.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/java/org/hibernate/dialect/DerbyDialect.java b/core/src/main/java/org/hibernate/dialect/DerbyDialect.java index 62b8c57c1c..759b12659f 100755 --- a/core/src/main/java/org/hibernate/dialect/DerbyDialect.java +++ b/core/src/main/java/org/hibernate/dialect/DerbyDialect.java @@ -90,6 +90,10 @@ public class DerbyDialect extends DB2Dialect { return false; } + public boolean supportsCommentOn() { + return false; + } + public String getQuerySequencesString() { return null ; }