[hibernate-dev] Use cases for many-to-many collection of proxies?

Sanne Grinovero sanne at hibernate.org
Mon Oct 21 19:47:58 EDT 2013


Hi Gail,
does this impact as well the "extra-lazy" collections?
I definitely had great use cases for them in the past.

On 21 October 2013 19:22, Gail Badner <gbadner at redhat.com> wrote:
> Are there real-world use cases where an initialized many-to-many collection should contain elements that are uninitialized proxies (HibernateProxy), rather than entity instances?
>
> Currently, it is possible to configure this behavior using either:
>
> <many-to-many ... fetch="select"/>
> <many-to-many ... outer-join="false"/>
>
> We are considering removing this capability if there are no real-world use cases.
>
> Fetch profiles do not provide this level of granularity. The fetch style for the collection itself, but not its elements, can be configured using a fetch profile.
>
> As far as I know, JPA does not provide this level of granularity either.
>
> Please let us know if you are using this functionality.
>
> Thanks,
> Gail
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list