Generic « POJO « JPA Q&A





1. Maping generic SQL to POJO in hibernate    forum.hibernate.org

2. Initializing POJO's generic Set    forum.hibernate.org

Hibernate version: 3.1.3 I'm trying to figure out how to initialize my POJO's generic Set property (it's children, if you will). Here's the situation... Class Parent is as follows (my apologies for syntax errors): Code: package x.y.foo; public class Parent implements java.io.Serializable { static final long serialVersionUID = -123L; private String propertyA; ...