Hi again,
I've more or less found a solution to the problem, which has been just
removing the inverse one-to-many relation from the Article entity in the
orm.xml.
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
Now it works, but the problem is, I don't know why, I have to set the
primary keys manually.
What before was like this:
Now is like this:
Maybe should I map it like a collection instead many-to-one and one-to-many
in orm.xml??
What about setting the Access to field or property? Sorry about my noob
questions but I'm kind of a begginer with OpenEJB + JPA.
Thanks,
Tomás
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Problem-with-Tomee-on-ejbPostCreate-method-OutOfMemoryError-tp4676642p4676650.html
Sent from the TomEE Users mailing list archive at Nabble.com.