Hello !!!

I have MySQL DB with table A (for example) and it has auto increment primary field `id`. How can I get value of `id` in ejbPostCreate method in CMP EJB? I have correct assignment of `id` just after ejbPostCreate. As I think ejbPostCreate is a right place for creating child EJB, but without primary key of parent EJB I can't create child.

Reply via email to