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; }