On Nov 20, 2007, at 10:05 PM, Kevin Menard wrote:
Forgive my ignorance, but what is the reason for making these Collection<?> rather than Collection<? extends Persistent> ? Is it for JPA POJO support?
Yes, it is for POJO support (not only JPA). I.e. at compile time your classes may not implement Persistent. I already ran into problem with POJO integration tests with "newObject" returning Persistent that is being assigned to a concrete type that is not Persistent at compile time.
Andrus
