[hibernate-dev] review of a patch for lazy loading of association with property-ref

Emmanuel Bernard emmanuel at hibernate.org
Fri Mar 28 15:28:23 EDT 2008


The best place is to JIRA yes so that it's not lost. But cross porting  
here is not too bad.

On  Mar 27, 2008, at 06:12, Fischer, Lars wrote:
> Hello list,
>
> I would like to use hibernate in a new project but I miss a feature: A
> mapping like <many-to-one name="RE" column="RE_ID" property-ref="ID"
> entity-name="RE" lazy="proxy" /> ignores the lazy loading. Looking  
> into
> the code I found as reason the usage of the property-ref attribute.
>
> The project database schema bases on a legacy design which I can't
> change. Because of that I can not avoid the usage of property-ref.
>
> So I tried to get the lazy loading running with property-ref by
> extending the hibernate core sources. With my changes it is now  
> working
> for my project, but I do not claim that this would be the best  
> solution,
> because I have only a rudimental knowledge of the hibernate internals.
>
> Is it possible that someone of the experienced developers could take a
> look on my changes and give me a feedback? I created a patch based on
> hibernate core 3.2.6.ga. Should I upload it into JIRA or can I post it
> into this list?
>
> regards,
> Lars
>
>
> ------------------------------------------------------------------------------------------------------------
> IBYKUS AG fur Informationstechnologie, Erfurt / HRB 108616 - D- 
> Jena / Vorstand: Helmut C. Henkel, Dr. Lutz Richter /
> Vorsitzender des Aufsichtsrates: Dr. Frieder Schauble
>
>
> _______________________________________________
> 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