-
1. Re: MySQL CMP filed too big
dsundstrom Sep 2, 2002 1:19 PM (in response to chojes)I thought the limit for MySQL was 500. Anyway if you modify the java.lang.String mySQL mapping in the standardjbosscmp-jdbc.xml file to VARCHAR(250), it should work.
-
2. Re: MySQL CMP field too big
andrika Sep 14, 2002 12:11 AM (in response to chojes)I happened to encounter this today. I am also trying CMP with MySQL.
The solution is to change the type mapping from the default "Hypersonic SQL" to "mySQL."
My question now is, does anybody know how to use the MySQL AUTO_INCREMENT primary key feature with CMP?
According to the MySQL website, this can now be done with the new beta version of Connector/J. See http://www.mysql.com/products/connector-j/index.html.
Regards,
Andrea -
3. Re: MySQL CMP field too big
dsundstrom Sep 14, 2002 12:18 PM (in response to chojes)Support for AUTO_INCREMENT was checked in and then commented out yesterday, because of a build ordering problem. Full support should be available in JBoss 4.0 later next week and it will be back ported to 3.2 after that.