[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2550) Update API Class in 10.4.3. Criteria queries

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sun Apr 15 22:09:04 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Pires Plentz updated HHH-2550:
------------------------------------

    Attachment: session_api.xml.patch

> Update API Class in 10.4.3. Criteria queries
> --------------------------------------------
>
>                 Key: HHH-2550
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2550
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Diego Pires Plentz
>         Attachments: session_api.xml.patch
>
>
> In the first example 
> "crit.add( Expression.eq( "color", eg.Color.BLACK ) );"
> Must be
> "crit.add( Restrictions.eq( "color", eg.Color.BLACK ) );"
> To match javadoc recommendation 
> "This class is semi-deprecated. Use Restrictions."
> http://www.hibernate.org/hib_docs/v3/api/org/hibernate/criterion/Expression.html

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