spring-framework / org.springframework.jdbc.core / SqlInOutParameter / <init>

<init>

SqlInOutParameter(name: String, sqlType: Int)

Create a new SqlInOutParameter.

Parameters

name - name of the parameter, as used in input and output maps

sqlType - SQL type of the parameter according to java.sql.Types

SqlInOutParameter(name: String, sqlType: Int, scale: Int)

Create a new SqlInOutParameter.

Parameters

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)

SqlInOutParameter(name: String, sqlType: Int, typeName: String)

Create a new SqlInOutParameter.

Parameters

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)

SqlInOutParameter(name: String, sqlType: Int, typeName: String, sqlReturnType: SqlReturnType)

Create a new SqlInOutParameter.

Parameters

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)

sqlReturnType - custom value handler for complex type (optional)

SqlInOutParameter(name: String, sqlType: Int, rse: ResultSetExtractor<*>)

Create a new SqlInOutParameter.

Parameters

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

SqlInOutParameter(name: String, sqlType: Int, rch: RowCallbackHandler)

Create a new SqlInOutParameter.

Parameters

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

SqlInOutParameter(name: String, sqlType: Int, rm: RowMapper<*>)

Create a new SqlInOutParameter.

Parameters

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