Author: stliu
Date: 2009-08-10 02:40:43 -0400 (Mon, 10 Aug 2009)
New Revision: 17256
Modified:
core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
Log:
JBPAPP-1547 HHH-3686 : Sybase - QueryCacheTest.testQueryCacheInvalidation fails
Modified:
core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
===================================================================
---
core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java 2009-08-10
03:59:59 UTC (rev 17255)
+++
core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java 2009-08-10
06:40:43 UTC (rev 17256)
@@ -64,7 +64,13 @@
public boolean supportsCascadeDelete() {
return false;
}
-
+ /**
+ * By default, Sybase string comparisons are case-insensitive.<br>
+ * 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;
}
Show replies by date