Class Expression

    • Method Detail

      • sql

        @Deprecated
        public static Criterion sql​(java.lang.String sql,
                                    java.lang.Object[] values,
                                    Type[] types)
        Apply a constraint expressed in SQL, with JDBC parameters. Any occurrences of {alias} will be replaced by the table alias.
        Parameters:
        sql - The sql
        values - The parameter values
        types - The parameter types
        Returns:
        Criterion
      • sql

        @Deprecated
        public static Criterion sql​(java.lang.String sql,
                                    java.lang.Object value,
                                    Type type)
        Apply a constraint expressed in SQL, with a JDBC parameter. Any occurrences of {alias} will be replaced by the table alias.
        Parameters:
        sql - The sql
        value - The parameter value
        type - The parameter type
        Returns:
        Criterion
      • sql

        @Deprecated
        public static Criterion sql​(java.lang.String sql)
        Apply a constraint expressed in SQL with no parameters. Any occurrences of {alias} will be replaced by the table alias.
        Parameters:
        sql - The sql
        Returns:
        Criterion