[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-786) Improve lazy options for <one-to-one>

David Moros Claramunt (JIRA) noreply at atlassian.com
Thu Oct 29 12:25:12 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34348#action_34348 ] 

David Moros Claramunt commented on HHH-786:
-------------------------------------------

sorry, but lazy="no-proxy" don't works when constrained="false", hibernate does eagerly fetch for association.

> Improve lazy options for <one-to-one>
> -------------------------------------
>
>                 Key: HHH-786
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-786
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.1 beta 1
>            Reporter: Gavin King
>            Assignee: Gavin King
>             Fix For: 3.1 beta 2
>
>
> Currently we support both lazy="true" and lazy="no-proxy" for <one-to-one>. We should remove the lazy="true" option, so that it looks just like <many-to-one>, and make lazy="no-proxy" work when constrained="false".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list