Interface ParameterRegistrationImplementor<T>

    • Method Detail

      • prepare

        void prepare​(java.sql.CallableStatement statement,
                     int i)
              throws java.sql.SQLException
        Prepare for execution.
        Parameters:
        statement - The statement about to be executed
        i - The parameter index for this registration (used for positional)
        Throws:
        java.sql.SQLException - Indicates a problem accessing the statement object
      • getHibernateType

        Type getHibernateType()
        Access to the Hibernate type for this parameter registration
        Specified by:
        getHibernateType in interface QueryParameter<T>
        Returns:
        The Hibernate Type
      • isPassNullsEnabled

        boolean isPassNullsEnabled()
        If no value is bound for this parameter registration, is the passing of NULL to the JDBC CallableStatement for that parameter enabled? This effectively controls whether default values for the argument as defined in the database are applied or not.
        Specified by:
        isPassNullsEnabled in interface ProcedureParameter<T>
        Returns:
        true indicates that NULL will be passed to the JDBC driver, effectively disabling the application of the default argument value defined in the database; false indicates that the parameter will simply be ignored, with the assumption that the corresponding argument defined a default value.
        See Also:
        isPassNullsEnabled()
      • getSqlTypes

        int[] getSqlTypes()
        Access to the SQL type(s) for this parameter
        Returns:
        The SQL types (JDBC type codes)
      • extract

        T extract​(java.sql.CallableStatement statement)
        Extract value from the statement after execution (used for OUT/INOUT parameters).
        Parameters:
        statement - The callable statement
        Returns:
        The extracted value