I have updated jbosscmp-jdbc.xml to be as follows, and I get the same behavior:
<ejb-name>Subject</ejb-name> <table-name>Subject</table-name> <cmp-field> <field-name>id</field-name> <column-name>id</column-name> <auto-increment /> </cmp-field> <cmp-field> <field-name>name</field-name> <column-name>name</column-name> </cmp-field> <cmp-field> <field-name>description</field-name> <column-name>description</column-name> </cmp-field> <entity-command name="mysql-get-generated-keys" /> Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883789#3883789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883789 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user