From 7cb332acaba974606316cbbed3d5b9b75b0995d6 Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Mon, 13 Sep 2010 03:13:08 +0000 Subject: [PATCH] HHH-5557 Sybase supports alias length upto 30 characters git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20632 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../main/java/org/hibernate/dialect/SybaseASE15Dialect.java | 4 +++- 1 file changed, 3 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 35abba5656..f7dc09c6a5 100644 --- a/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java +++ b/core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java @@ -57,7 +57,9 @@ public class SybaseASE15Dialect extends AbstractTransactSQLDialect { public boolean supportsCascadeDelete() { return false; } - + public int getMaxAliasLength() { + return 30; + } /** * By default, Sybase string comparisons are case-insensitive. *