Bugs item #1019156, was opened at 2004-08-30 18:30
Message generated for change (Comment added) made by loubyansky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1019156&group_id=22866

Category: JBossCMP
Group: v3.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Antti Lehto (anajavi)
Assigned to: Alexey Loubyansky (loubyansky)
Summary: EJBQLToSQL92Compiler does not honor alias-max-length

Initial Comment:
JBoss 3.2.5 
Sybase ASE 12.5
OS: Linux
JDK 1.4.2_05

EJBQLToSQL92Compiler creates SQL that has too long aliases.
Same finder works okay with the old compiler.

I get the following exception:
javax.ejb.FinderException: Find failed:
com.sybase.jdbc2.jdbc.SybSQLException: The identifier
that starts with 't2_o_users_RELATION_TABLE_loca' is
too long.  Maximum length is 30.

        at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:281)
        at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:117)
        at
org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:38)
        at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:587)
        at
org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:285)
        at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:322)
        at
org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:614)

----------------------------------------------------------------------

>Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-09-14 17:32

Message:
Logged In: YES 
user_id=543482

Fixed in 3.2.6 and 4.0. Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1019156&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to