Hi,
I'm trying to persist a POJO that contain a collection field. The collection contains Strings.
The string represents unique ids. So, ex. Contact Pojo:
public class Contact {
private firstName;
private lastName;
...
private Collection contactLinks;
}
What is the best way to do it ?
Thank you,
Gabi
Hibernate version: 3. 1
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using: derby 10.1
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
|