From b1d17f31dd4f9b1e1fb7b3b316b37ef83094bbab Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Wed, 12 Aug 2009 02:27:18 +0000 Subject: [PATCH] JBPAPP-1547 HHH-3686 : Sybase - QueryCacheTest.testQueryCacheInvalidation fails git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17270 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../java/org/hibernate/dialect/SybaseASE15Dialect.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java b/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java index 533618aa21..8b1b0c8a04 100644 --- a/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java +++ b/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java @@ -68,7 +68,13 @@ public class SybaseASE15Dialect extends AbstractTransactSQLDialect { public boolean supportsCascadeDelete() { return false; } - + /** + * By default, Sybase string comparisons are case-insensitive.
+ * If the DB is configured to be case-sensitive, then the return value will be incorrect. + */ + public boolean areStringComparisonsCaseInsensitive() { + return true; + } public boolean supportsExpectedLobUsagePattern() { return false; }