Target « Map « JPA Q&A





1. @Target doesn't work? Or am I using it wrong?    forum.hibernate.org

I'm having some awful JAXB/Hibernate crossover problems with Sets. In order to send my objects with JAXB, I have had to make my Sets non-generic, as it can't find the generics information. However, I can't seem to get Hibernate to accept that my subclass of Set is a Set. At once, I got "Illegal attempt to map a non collection as ...