类 SqlOutParameter

    • 构造器详细资料

      • SqlOutParameter

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

        public SqlOutParameter​(String name,
                               int sqlType,
                               int scale)
        Create a new SqlOutParameter.
        参数:
        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)
      • SqlOutParameter

        public SqlOutParameter​(String name,
                               int sqlType,
                               @Nullable
                               String typeName)
        Create a new SqlOutParameter.
        参数:
        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)
      • SqlOutParameter

        public SqlOutParameter​(String name,
                               int sqlType,
                               @Nullable
                               String typeName,
                               @Nullable
                               SqlReturnType sqlReturnType)
        Create a new SqlOutParameter.
        参数:
        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)
        sqlReturnType - custom value handler for complex type (optional)
      • SqlOutParameter

        public SqlOutParameter​(String name,
                               int sqlType,
                               RowMapper<?> rm)
        Create a new SqlOutParameter.
        参数:
        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