This content has been marked as final.
Show 1 reply
-
1. Re: Working with 2 EntityManagers
bluetrade Oct 25, 2006 6:42 AM (in response to bluetrade)One thing I forgot, I of course tried just leaving out cascading the second entity and doing everything just like I would with a "locally" managed bean - but as expected in this case I get a ConstraintViolationException, because the foreign key constraint does not hold... so basically, is there a way to leave out the foreign key constraint?
Thanks,
Joey