[hibernate-commits] Hibernate SVN: r12745 - core/trunk/code/core/src/main/java/org/hibernate/criterion.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Sun Jul 8 04:47:10 EDT 2007
Author: d.plentz
Date: 2007-07-08 04:47:10 -0400 (Sun, 08 Jul 2007)
New Revision: 12745
Modified:
core/trunk/code/core/src/main/java/org/hibernate/criterion/Expression.java
Log:
[HHH-2552] Update javadoc to refer Restriction methods
Modified: core/trunk/code/core/src/main/java/org/hibernate/criterion/Expression.java
===================================================================
--- core/trunk/code/core/src/main/java/org/hibernate/criterion/Expression.java 2007-07-08 08:29:28 UTC (rev 12744)
+++ core/trunk/code/core/src/main/java/org/hibernate/criterion/Expression.java 2007-07-08 08:47:10 UTC (rev 12745)
@@ -22,6 +22,7 @@
* 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 @@
* 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 @@
* 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
*/
More information about the hibernate-commits
mailing list