That doc section is wrong. Vlad - can you fix that We do in fact support arrays of all types including embeddables and entities. However, we have always recommended to not use arrays for entities as arrays cannot be lazy loaded (not even using bytecode enhancement).
On Mon, Jul 24, 2017 at 6:29 PM Gail Badner <gbad...@redhat.com> wrote: > Documentation makes it sound like only arrays of basic types are supported. > [1] > > I see a test using an array of entities, but I don't see one for an array > of embeddables. [2] > > Regards, > Gail > > [1] > > http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html#collections-array > [2] > > https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/test/annotations/array/Contest.java#L40-L42 > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev