ImmutableList<T> is not supporting by hibernate
Open
- Dominant language
- Java
- Stars
- 7.2k
- Forks
- 820
- Avg merge
- 5h 9m
- Merged PRs (30d)
- 50
Description
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` i used the `ImmutableList` 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`
Contributor guide
Assessment
This issue has not been assessed yet.