It seems to me that the ejbPostCreate bug is not totally fixed. I'm experiencing a problem with the CMR field is not set when i'm trying to create entity EJB. If i create two entity EJB with the same relationship object, only the last entity EJB has the CMR field set to the primary key of the relationship object, the first entity EJB has that field set to null.
For example, i have a company and role entities with a role belongs to a company.
if i create 2 roles: A and B. and both of them belongs to a company C.
After creation, when i check the role table, only B has the companyId field set, while A has the column set to null.
Can any body please help?
I found the problem, it was my mistake. It was because i specified the relationship is 1 to 1 instead of 1 to many.