Bugs item #1019156, was opened at 2004-08-30 18:30
Message generated for change (Settings changed) 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: Open
>Resolution: Accepted
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)

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

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 BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to