Hi Juergen,
In your entity "ListEntry" the cascade should/might look like this:
@OneToMany(cascade={CascadeType.MERGE, CascadeType.PERSIST,
CascadeType.REFRESH})
| User getUser(){...
If you specifiy "REMOVE" then the user is deleted if the list entry is removed.
Best regards
Wolfgang
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979305#3979305
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979305
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user