[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4826) Misleading documentation for FetchMode.SELECT

Evgeniy Platonov (JIRA) noreply at atlassian.com
Thu Jan 21 05:59:30 EST 2010


Misleading documentation for FetchMode.SELECT
---------------------------------------------

                 Key: HHH-4826
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4826
             Project: Hibernate Core
          Issue Type: Bug
          Components: documentation
    Affects Versions: 3.3.2
            Reporter: Evgeniy Platonov


in FetchMode class SELECT constant documentation says it fetches eagerly, while deprecated LAZY constant documentation has 
 "Fetch lazily". Actually SELECT documentation also should say "Fetch lazily"

{code:title=FetchMode.java}
        /**
	 * Fetch eagerly, using a separate select. Equivalent to
	 * <tt>fetch="select"</tt>.
	 */
	public static final FetchMode SELECT = new FetchMode("SELECT");

	/**
	 * Fetch lazily. Equivalent to <tt>outer-join="false"</tt>.
	 * @deprecated use <tt>FetchMode.SELECT</tt>
	 */
	public static final FetchMode LAZY = SELECT;
{code}

-- 
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