General idea about generics and JPA 1.0