Patches item #793328, was opened at 2003-08-22 16:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=793328&group_id=22866

Category: JBossCMP
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Andre Frintrop (frintrop)
Assigned to: Nobody/Anonymous (nobody)
Summary: SQL generating problem with long "table name"

Initial Comment:
I have generated many entity beans with middlegen 
using more than one schema/user on the database.

this works fine, until the table name is not longer than 
18 characters including the schema.

( myschema1.myschema2 ).

Than Jboss�s SQLUtil.fixTableName method will not work 
fine, because is looks only for metadata.maxtablelength 
not paying attention to the schema.

i have fixed it now by seperating the schema from the 
tablename and after checking the metadata rebuild the 
table name.

Perhaps the method can add the 
metadata.maxtablelength and the 
metadata.maxschemalength, by I don�t know if it work 
with all databases.

i hope i have done right ......

Andr� Frintrop
[EMAIL PROTECTED]

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

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


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to