collection « Annotation « JPA Q&A





1. Hibernate Annotations with a collection    stackoverflow.com

I am trying to implement my model using hibernate annotations. I have 3 classes, image, person, and tags. Tags is a a table consisting of 4 fields, an id, ...

2. hibernate collections annotation issue    forum.hibernate.org

I have a many to one relationship between 2 classes A and B(a->B). I want to use annotations unfortunately there are many classes to be converted in my project( hibernate + spring integrated ). I ended up changing only Class B to annotations and class A will have the old hbm mapping file itself.. While doing so i get an exception ...

3. Annotating valid collection contents    forum.hibernate.org

4. Annotations - problem with collections    forum.hibernate.org

Hi there, I've created 2 classes in which I have a collection of elements. With one class there is no problem, with the other I get an exception that Hibernate can not determine the type of the collection. Could it have something to do with the fact that one is bi-directional while the other is not? The bi-directional one works by ...