Hi,

Is it possible to create an EJB query to remove a link to other object in a 
collection (one to many)?

e.g.
class A {
    @OneToMany
    List listOfB();
}

class B {
   Long id;
}

I would like to create a query which remove the link to object B which id is 1 
from the collection of listOfB in object A but I don't know how.
I don't want to remove object B, I just want to remove the link.


Thanks,

Santoso

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097243#4097243

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097243
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to