users@glassfish.java.net

Re: Problem with simple Entity cascade delete

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Oct 2007 17:24:25 PDT

I tested a bi-directional OneToOne relationship. My example involved an Employee and an Insurance class. I created two mappings, one where Employee owns the relationship and Insurance has the cascade remove option, and one scenario where Insurance owns the relationship and Employee has the cascade remove option. In both cases, I removed the non-owning side. Both situations worked fine.
[Message sent by forum member 'mf125085' (mf125085)]

http://forums.java.net/jive/thread.jspa?messageID=239025