Simone,
Look for previous messages about INSERT after ejbPostCreate.
If you use oracle you can also mark the NON NULL constraint as DEFERRABLE INITIALLY DEFERRED. However, lots of DBAs don't like this.
Ciao,
Jonathan O'Connor
| "Simone Milani" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 24.03.2003 10:43
|
To: <[EMAIL PROTECTED]> cc: Subject: [JBoss-user] CMR with FK in the database |
Hi,
I have a one to many relation with a FK constaint and the FK in the children declared as non nullable. The SQL that is generated by JBoss seems to violate this constraint.
Please help!!!
Thanks
Simone
