Hello, I have the following Client, Vendor and Financial entities in my system. All of them have a list of Contacts, as would a two-way relationship in these ways.
public class Client {
@OneToMany
private List<Contact> contacts
}...
asked by
24.07.2015 / 19:36