Hi all
Here is what I've discovered, maybe it can be considered a bug.
I have @OneToMany annotation with CascadeType.ALL attribute specified. If I use
EntityManager.remove on the entity everything seems to work fine. If I use
Query.executeUpdate delete than the foreign key constraint is violated. The cascade
doesn't work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969057#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...