Will this work if I use @PrivateOwned on a ManyToMany relationship, such
that
if a Phone is removed from the list in the Customer class will only the
relationship table get deleted?
Example -
In Customer class:
@ManyToMany
@JoinTable(name="CUST_PHONES")
@PrivateOwned
public Set getPhones() { return phones; }
In PhoneNumber class:
@ManyToMany(mappedBy="phones")
public Set getCustomers() { return customers; }
--
View this message in context:
http://www.nabble.com/%40ManyToMany-and-%40PrivateOwned-tp24590764p24590764.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users