I want to persist my litte zoo with Hibernate:
@Entity @Table(name = \"zoo\") public class Zoo { @OneToMany private Set animals = new
I think you have to annotate the interface too with @Entity and we have to annotate @Transient on all getters and setters of interface.
@Entity
@Transient