I have been attempting to use the advice in thread http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ for using auto-incrementing PKs with MySQL without luck. I keep getting a nullpointer error when executing ejbCreate() on the Entity Bean. I am using JBoss 3.2.0_beta2. I have attached my jbosscmp-jdbc.xml file and ejb-jar.xml file.
The entity bean has a relationship with another entity bean which also auto-generates its pk as well.
Please disregard this question. The ejbCreate() is working correctly.