openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fay Wang <fyw...@yahoo.com>
Subject Re: Orphan deletion in OneToOne
Date Thu, 11 Jun 2009 22:19:42 GMT

You might want to use Dependent for One-to-One relation orphan deletion. 

[1] http://openjpa.apache.org/docs/openjpa-0.9.0-incubating/manual/manual.html#dependent

Hope this helps.

Fay

--- On Thu, 6/11/09, JayaPrakash <jpontheweb@sify.com> wrote:

> From: JayaPrakash <jpontheweb@sify.com>
> Subject: Orphan deletion in OneToOne
> To: dev@openjpa.apache.org
> Date: Thursday, June 11, 2009, 2:36 PM
> 
> Hi,
> 
>        OpenJPA does support Orphan
> deletion with @ElementDependent in
> OneToMany relationship. Does anyone suggest how the same
> can be done when we
> have OneToOne relationship among objects?
> 
> Appreciate your response.
> 
> Thanks,
> JP
> 
> 
> -- 
> View this message in context: http://n2.nabble.com/Orphan-deletion-in-OneToOne-tp3064596p3064596.html
> Sent from the OpenJPA Developers mailing list archive at
> Nabble.com.
> 
> 


      

Mime
View raw message