users@glassfish.java.net

Re: JPA - ManyToMany deletes to much

From: Stephen Connolly <stephen.alan.connolly_at_gmail.com>
Date: Thu, 22 Nov 2007 14:42:50 +0000

What I was saying was don't use CascadeType.ALL, use everything except
CascadeType.REMOVE

On Nov 22, 2007 2:45 PM, <glassfish_at_javadesktop.org> wrote:
> ok i guess that pretty much answers my question. is there any other method that could be useful for this (some advanced hibernate or toplink extension?)
> [Message sent by forum member 'johnnyvdlaar' (johnnyvdlaar)]
>
> http://forums.java.net/jive/thread.jspa?messageID=246804
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>