Hi,
i want to fulfill the requirements of Immutable entity classes, therefore the class is annotated with @Immutable
i have a list field to another entity class, so, instead of List<T> i used the ImmutableList<T> as the type of a field.
it is built, but when the tables are to be created by Hibernate, i have the error : Illegal attempt to map a non collection as a @OneToMany, @ManyToMany or @CollectionOfElements: model.User.roles