users@glassfish.java.net

Re: JoinTable not always updated!!!???

From: <glassfish_at_javadesktop.org>
Date: Mon, 25 Jun 2007 12:28:01 PDT

> So only the entries with ids 52, 53, 54 are saved to
> the database? Did you try calling
> em.merge(targetBean) after the collection is
> modified?
>
> Thanks,
>
> -- markus.

I did do an explicit merge here but isn't this redundant with when I have @OneToMany(cascade={CascadeType.ALL}) ?
[Message sent by forum member 'samdoyle' (samdoyle)]

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