You have | <create-table>true</create-table> | I don't use this feature myself. After deployment, is the table created in the database ? and the emp_id column set to auto-increment ?
If not, the container must generate the key and you must use an entity command name of pk-sql or key-generator. Look at standardjbosscmp-jdbc.xml in the conf directory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832044#3832044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832044 ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
