コード例 #1
0
 @Override
 @Deprecated
 public Criteria createCriteria(
     String associationPath, String alias, int joinType, Criterion withClause)
     throws HibernateException {
   return createCriteria(associationPath, alias, JoinType.parse(joinType), withClause);
 }
コード例 #2
0
 @Override
 @Deprecated
 public Criteria createCriteria(
     final String associationPath, final String alias, final int joinType)
     throws HibernateException {
   return createCriteria(associationPath, alias, JoinType.parse(joinType));
 }
コード例 #3
0
 /**
  * Deprecated!
  *
  * @param associationPath The association path
  * @param joinType The type of join to use
  * @return the newly created, nested DetachedCriteria
  * @deprecated use {@link #createCriteria(String, JoinType)}
  */
 @Deprecated
 public DetachedCriteria createCriteria(String associationPath, int joinType) {
   return createCriteria(associationPath, JoinType.parse(joinType));
 }
コード例 #4
0
 /**
  * Deprecated!
  *
  * @param associationPath The association path
  * @param alias The alias to associate with this "join".
  * @param joinType The type of join to use
  * @param withClause The additional join restriction
  * @return the newly created, nested DetachedCriteria
  * @deprecated use {@link #createCriteria(String, String, JoinType, Criterion)}
  */
 @Deprecated
 public DetachedCriteria createCriteria(
     String associationPath, String alias, int joinType, Criterion withClause) {
   return createCriteria(associationPath, alias, JoinType.parse(joinType), withClause);
 }
コード例 #5
0
 /**
  * Deprecated!
  *
  * @param associationPath The association path
  * @param alias The alias to apply to that association path
  * @param joinType The type of join to use
  * @return {@code this}, for method chaining
  * @deprecated use {@link #createAlias(String, String, JoinType)}
  */
 @Deprecated
 public DetachedCriteria createAlias(String associationPath, String alias, int joinType) {
   return createAlias(associationPath, alias, JoinType.parse(joinType));
 }