These are chat archives for hibernate/hibernate-orm

27th
Sep 2017
Chris Cranford
@Naros
Sep 27 2017 20:44
@heruan @ElementCollection is only applicable if what you're trying to map is basic types or embeddables. Given that both Foo and Bar are entities, using a @OneToMany is the most appropriate choice here.