Generic « POJO « JPA Q&A

1. Maping generic SQL to POJO in hibernate

2. Initializing POJO's generic Set

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; public class Parent implements { static final long serialVersionUID = -123L; private String propertyA; ...