Author: stliu
Date: 2010-09-12 23:13:08 -0400 (Sun, 12 Sep 2010)
New Revision: 20632
Modified:
core/trunk/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
Log:
HHH-5557 Sybase supports alias length upto 30 characters
Modified: core/trunk/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java 2010-09-12
22:47:21 UTC (rev 20631)
+++ core/trunk/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java 2010-09-13
03:13:08 UTC (rev 20632)
@@ -57,7 +57,9 @@
public boolean supportsCascadeDelete() {
return false;
}
-
+ public int getMaxAliasLength() {
+ return 30;
+ }
/**
* By default, Sybase string comparisons are case-insensitive.
* <p/>