[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2550) Update API Class in 10.4.3. Criteria queries
Diego Pires Plentz (JIRA)
noreply at atlassian.com
Mon Apr 9 12:20:05 EDT 2007
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
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