This is specific to each JDBC driver you use.  When you deploy an
application in JBoss, JBossCMP gets a Connection to the DataSource the
entity was deployed on and calls
Connection.getMetaData().getMaxTableNameLength() to determine the maximum
table name length.  If its too short, it mangles it to fit.

Reference org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName() for more
details.

Michael

> -----Original Message-----
> From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED]]
> 
> Hello,
> 
> it seems that JBoss shortens table names longer than 31 characters.
> Is there any way how to turn this feature off?
> 
> Thanks
> 
> Pavel


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to