Interface Criterion

    • Method Detail

      • toSqlString

        java.lang.String toSqlString​(Criteria criteria,
                                     CriteriaQuery criteriaQuery)
                              throws HibernateException
        Render the SQL fragment
        Parameters:
        criteria - The local criteria
        criteriaQuery - The overal criteria query
        Returns:
        The generated SQL fragment
        Throws:
        HibernateException - Problem during rendering.
      • getTypedValues

        TypedValue[] getTypedValues​(Criteria criteria,
                                    CriteriaQuery criteriaQuery)
                             throws HibernateException
        Return typed values for all parameters in the rendered SQL fragment
        Parameters:
        criteria - The local criteria
        criteriaQuery - The overal criteria query
        Returns:
        The types values (for binding)
        Throws:
        HibernateException - Problem determining types.