|
Apparently the model is not according to JPA spec - I can't have a @OneToMany or @ElementCollection in an @Embeddable entity that is already inside a collection. However, the error message is very confusing and does not really say what the problem is (unlike EclipseLink which provides a very detailed explanation).
|