This content has been marked as final.
Show 3 replies
-
1. Re: ON DELETE CASCADE and CMR
cstach Mar 5, 2003 7:04 PM (in response to cstach)I've found that the engine nulls out the CMP fields before it does the delete, so the ON DELETE never gets triggered in the database. I'd really rather have the database handle this and JBoss be aware of it so it clears the cached entities, though.
-
2. Re: ON DELETE CASCADE and CMR
cstach Mar 5, 2003 7:05 PM (in response to cstach)I've found that the engine nulls out the CMP fields before it does the delete, so the ON DELETE never gets triggered in the database. I'd really rather have the database handle this and JBoss be aware of it so it clears the cached entities, though.
-
3. Re: ON DELETE CASCADE and CMR
cstach Mar 5, 2003 7:05 PM (in response to cstach)I've found that the engine nulls out the CMP fields before it does the delete, so the ON DELETE never gets triggered in the database. I'd really rather have the database handle this and JBoss be aware of it so it clears the cached entities, though.