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