Sorry, just posted a followup. As long as the class with the "delegates"
member and the Delegate object you're removing are managed, it should be as
simple as x.delegates.remove(y).

Derek

On Mon, Sep 29, 2008 at 7:46 AM, Tim Perrett <[EMAIL PROTECTED]> wrote:

>
> Hey Derek,
>
> I think your post got a bit mangled there?
>
> On my owning side of the relationship I have:
>
>
>  @ManyToMany(){val targetEntity = classOf[Delegate], val fetch =
> FetchType.EAGER, val
> cascade=Array(CascadeType.PERSIST,CascadeType.MERGE), val
> mappedBy="parties"}
>  var delegates: java.util.Set[Delegate] = new
> java.util.HashSet[Delegate]()
>
> Cheers
>
> Tim
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to