, Ranch Hand
My pojo has an object as:
private Collection<Name> diffNames;
where Name is a custom class as follows:
public class Name
private String name;
private String surname;
So how do i map the diffNames object above in the hibernate mapping?
I recommend using a Hibernate Bag object. a Bag is how Hibernate maps to a Collection object.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards
This thread has been viewed 646 times.
All times above are in ranch (not your local) time.
The current ranch time is
Jan 21, 2018 17:44:39.