Re: CMP Setter & ejbCreate

2006-09-16 Thread Brandon Dooley
I began to dig around, and there really isnt any documentation besides http://publib.boulder.ibm.com/wasce/V1.0.1.0/en/Reference/Plans/openejb-pkgen-2.0.xsd.html#h1577217937 this place . I altered openejb-jar.xml where I think the key-generator config goes but its not totally right but I think it

Re: CMP Setter & ejbCreate

2006-09-16 Thread Brandon Dooley
Hi Gianny, Thanks for the response, it sounds like I could use an explanation on providing a primary-key generator. The primary key is an auto_increment bigint column in a mysql database. Thanks again for your help. Brandon Gianny Damour wrote: > > Hi Brandon, > > I suspect that the primary

Re: CMP Setter & ejbCreate

2006-09-16 Thread Gianny Damour
Hi Brandon, I suspect that the primary key is null after the execution of ejbCreate. Are you sure that you are setting it during ejbCreate? If you want this id to be generated, then you will need to provide a primary-key generator for this CMP. I can explain you how to do that, if need be

CMP Setter & ejbCreate

2006-09-16 Thread Brandon Dooley
I'm getting this exception when I try and create a new bean that has setter. I did find Aaron's post http://www.nabble.com/CMR-Setters---ejbCreate-tf407940.html#a1122043 http://www.nabble.com/CMR-Setters---ejbCreate-tf407940.html#a1122043 but his was a slightly different error and I'm using CMP