Class ResultSetSupportingSqlParameter

    • Constructor Detail

      • ResultSetSupportingSqlParameter

        public ResultSetSupportingSqlParameter​(String name,
                                               int sqlType)
        Create a new ResultSetSupportingSqlParameter.
        Parameters:
        name - the name of the parameter, as used in input and output maps
        sqlType - the parameter SQL type according to java.sql.Types
      • ResultSetSupportingSqlParameter

        public ResultSetSupportingSqlParameter​(String name,
                                               int sqlType,
                                               int scale)
        Create a new ResultSetSupportingSqlParameter.
        Parameters:
        name - the name of the parameter, as used in input and output maps
        sqlType - the parameter SQL type according to java.sql.Types
        scale - the number of digits after the decimal point (for DECIMAL and NUMERIC types)
      • ResultSetSupportingSqlParameter

        public ResultSetSupportingSqlParameter​(String name,
                                               int sqlType,
                                               @Nullable
                                               String typeName)
        Create a new ResultSetSupportingSqlParameter.
        Parameters:
        name - the name of the parameter, as used in input and output maps
        sqlType - the parameter SQL type according to java.sql.Types
        typeName - the type name of the parameter (optional)
      • ResultSetSupportingSqlParameter

        public ResultSetSupportingSqlParameter​(String name,
                                               int sqlType,
                                               RowMapper<?> rm)
        Create a new ResultSetSupportingSqlParameter.
        Parameters:
        name - the name of the parameter, as used in input and output maps
        sqlType - the parameter SQL type according to java.sql.Types
        rm - the RowMapper to use for parsing the ResultSet