[hibernate-dev] Avoid need for bidirectional relations in Search

Sanne Grinovero sanne at hibernate.org
Wed Dec 7 09:18:32 EST 2011


I'm not sure about estimating the effort, nor if it's possible at all,
but we aren't lazy right?
It seems to me it might be a useful feature; people expect us to know
pretty well how the entities relate if that's defined, and I don't see
why we should require to define relations redundantly on both
entities.

Sanne

On 7 December 2011 14:13, Hardy Ferentschik <hardy at hibernate.org> wrote:
>
> On Dec 7, 2011, at 3:03 PM, Sanne Grinovero wrote:
>
>> This sounds as an interesting idea, I'm wonderding if it could be doable:
>>
>> https://forum.hibernate.org/viewtopic.php?f=9&t=1013706
>
>
> In the Place, Address example from the docs. If the relations is not bi-directional,
> how do you find the Place instances which needs updating on a change of a given address.
>
> Sure there is way, but is it effective and worth the effort?
>
> --Hardy
>
>
> _______________________________________________
> 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