[HHH-2552] Update javadoc to refer Restriction methods

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@12745 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Diego Plentz 2007-07-08 08:47:10 +00:00
parent a1c40a99a3
commit c6a5bd747e
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@ public final class Expression extends Restrictions {
* parameters. Any occurrences of <tt>{alias}</tt> will be
* replaced by the table alias.
*
* @deprecated use {@link org.hibernate.criterion.Restrictions#sqlRestriction(String, Object[], Type[])}
* @param sql
* @param values
* @param types
@ -35,6 +36,7 @@ public final class Expression extends Restrictions {
* parameter. Any occurrences of <tt>{alias}</tt> will be replaced
* by the table alias.
*
* @deprecated use {@link org.hibernate.criterion.Restrictions#sqlRestriction(String, Object, Type)}
* @param sql
* @param value
* @param type
@ -47,6 +49,7 @@ public final class Expression extends Restrictions {
* Apply a constraint expressed in SQL. Any occurrences of <tt>{alias}</tt>
* will be replaced by the table alias.
*
* @deprecated use {@link org.hibernate.criterion.Restrictions#sqlRestriction(String)}
* @param sql
* @return Criterion
*/