[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-980) FetchMode.SELECT javadoc wrong
Baptiste MATHUS (JIRA)
noreply at atlassian.com
Mon Dec 11 03:36:05 EST 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-980?page=comments#action_25608 ]
Baptiste MATHUS commented on HHH-980:
-------------------------------------
What's the meaning of lazy. I mean, I think I know it but, from what I understood, that's :
Say you have A which contains a list of B
* Retrieve A with a criteria query like session.createCriteria(A.class).setFetchMode("b",FetchMode.SELECT);
* close the session
* access a.getB() without receiving a LazyInitException ?
I just re-tried this use case and received a LazyInitException... Maybe I've not understood something, I'll certainly post a thread in the forum so as this behaviour can be explained further.
> FetchMode.SELECT javadoc wrong
> ------------------------------
>
> Key: HHH-980
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-980
> Project: Hibernate3
> Type: Bug
> Components: documentation
> Versions: 3.1 beta 2
> Reporter: Dave Brondsema
> Priority: Minor
>
>
> FetchMode.SELECT says "Fetch eagerly, using a separate select." but it should say "Fetch lazily, using a separate select."
> This is quite misleading
--
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