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 <gbadner(a)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_U...
[2]
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src...
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev