Package org.hibernate.jpa.criteria.predicate

Examples of org.hibernate.jpa.criteria.predicate.IsEmptyPredicate


  @Override
  @SuppressWarnings({ "unchecked" })
  public <C extends Collection<?>> Predicate isEmpty(Expression<C> collectionExpression) {
    if ( PluralAttributePath.class.isInstance(collectionExpression) ) {
      return new IsEmptyPredicate( this, (PluralAttributePath<C>) collectionExpression );
    }
    // TODO : what other specific types?  any?
    throw new IllegalArgumentException(
        "unknown collection expression type [" + collectionExpression.getClass().getName() + "]"
    );
View Full Code Here


  @Override
  @SuppressWarnings({ "unchecked" })
  public <C extends Collection<?>> Predicate isEmpty(Expression<C> collectionExpression) {
    if ( PluralAttributePath.class.isInstance(collectionExpression) ) {
      return new IsEmptyPredicate( this, (PluralAttributePath<C>) collectionExpression );
    }
    // TODO : what other specific types?  any?
    throw new IllegalArgumentException(
        "unknown collection expression type [" + collectionExpression.getClass().getName() + "]"
    );
View Full Code Here

  @Override
  @SuppressWarnings({ "unchecked" })
  public <C extends Collection<?>> Predicate isEmpty(Expression<C> collectionExpression) {
    if ( PluralAttributePath.class.isInstance(collectionExpression) ) {
      return new IsEmptyPredicate( this, (PluralAttributePath<C>) collectionExpression );
    }
    // TODO : what other specific types?  any?
    throw new IllegalArgumentException(
        "unknown collection expression type [" + collectionExpression.getClass().getName() + "]"
    );
View Full Code Here

TOP

Related Classes of org.hibernate.jpa.criteria.predicate.IsEmptyPredicate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.