Hi, i cannot insert a data in one table because it's FK doesn't allow null and i only set the FKs in ejbPostCreate(), as it should be.
So, do i have to make all my FKs allow null or there's other solution?
Thanks, ltcmelo
Chris Mathews
Ranch Hand
Joined: Jul 18, 2001
Posts: 2712
posted
0
What database are you using? Typically there is a way to configure the DB so that it doesn't check constraints until transaction commit. This would solve your problem.