Class AbstractEmptinessExpression

    • Field Detail

      • propertyName

        protected final java.lang.String propertyName
    • Constructor Detail

      • AbstractEmptinessExpression

        protected AbstractEmptinessExpression​(java.lang.String propertyName)
    • Method Detail

      • excludeEmpty

        protected abstract boolean excludeEmpty()
        Should empty rows be excluded?
        Returns:
        true Indicates the expression should be 'exists'; false indicates 'not exists'
      • toSqlString

        public final java.lang.String toSqlString​(Criteria criteria,
                                                  CriteriaQuery criteriaQuery)
                                           throws HibernateException
        Description copied from interface: Criterion
        Render the SQL fragment
        Specified by:
        toSqlString in interface Criterion
        Parameters:
        criteria - The local criteria
        criteriaQuery - The overal criteria query
        Returns:
        The generated SQL fragment
        Throws:
        HibernateException - Problem during rendering.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object