Hi 

I am very new with JBOSS CMP. I am trying to create a test CMP for one of my 
projects and it throwing this error

Here is the details

I have a 1:N relationship eg Employee -> skills 

it's a bidirectional relationship

Now within the skillbean i am trying to create skill in ejbCreate() and then 
establish the link within ejbPostCreate()

the creation throw an error, said that the "employee_id cannot be null"

now i look up on the wiki, and i made some modification like INSERTs after 
ejbPostCreate like stated on the wiki

then it throws me an error, said that "Primary key for created instance is null"

Could anyone please give a suggestion about this problem, i have been googling 
around but there is no answer regarding this matter

cheers

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999335#3999335

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999335
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to