[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

View File

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