类 ResultSetSupportingSqlParameter

    • 构造器详细资料

      • ResultSetSupportingSqlParameter

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

        public ResultSetSupportingSqlParameter​(String name,
                                               int sqlType,
                                               int scale)
        Create a new ResultSetSupportingSqlParameter.
        参数:
        name - name of the parameter, as used in input and output maps
        sqlType - SQL type of the parameter 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,
                                               String typeName)
        Create a new ResultSetSupportingSqlParameter.
        参数:
        name - name of the parameter, as used in input and output maps
        sqlType - SQL type of the parameter according to java.sql.Types
        typeName - the type name of the parameter (optional)
      • ResultSetSupportingSqlParameter

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

        public ResultSetSupportingSqlParameter​(String name,
                                               int sqlType,
                                               RowCallbackHandler rch)
        Create a new ResultSetSupportingSqlParameter.
        参数:
        name - name of the parameter, as used in input and output maps
        sqlType - SQL type of the parameter according to java.sql.Types
        rch - RowCallbackHandler to use for parsing the ResultSet
      • ResultSetSupportingSqlParameter

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