Are you sure that you have deployed your mysql-ds.xml correctly? Here is a snippet that definitly creates VARCHAR with a length of 100 correctly.
<cmp-field> | <field-name>createdId</field-name> | <column-name>FK_CREATED_ID</column-name> | | <jdbc-type>VARCHAR</jdbc-type> | <sql-type>VARCHAR(100)</sql-type> | | </cmp-field> | <cmp-field> | <field-name>changedId</field-name> | <column-name>FK_CHANGED_ID</column-name> | | <jdbc-type>VARCHAR</jdbc-type> | <sql-type>VARCHAR(100)</sql-type> | | </cmp-field> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846369#3846369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846369 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user