1 Reply Latest reply on Jan 30, 2003 1:14 PM by garymarsh

    Does JBoss Support Auto-generated PKs yet

    garymarsh

      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.

      Gary