spring-framework / org.springframework.jdbc.core / SqlInOutParameter

SqlInOutParameter

open class SqlInOutParameter : SqlOutParameter

Subclass of SqlOutParameter to represent an INOUT parameter. Will return true for SqlParameter's #isInputValueProvided test, in contrast to a standard SqlOutParameter.

Output parameters - like all stored procedure parameters - must have names.

Author
Thomas Risberg

Author
Juergen Hoeller

Since
2.0

Constructors

<init>

SqlInOutParameter(name: String, sqlType: Int)
SqlInOutParameter(name: String, sqlType: Int, scale: Int)
SqlInOutParameter(name: String, sqlType: Int, typeName: String)
SqlInOutParameter(name: String, sqlType: Int, typeName: String, sqlReturnType: SqlReturnType)
SqlInOutParameter(name: String, sqlType: Int, rse: ResultSetExtractor<*>)
SqlInOutParameter(name: String, sqlType: Int, rch: RowCallbackHandler)
SqlInOutParameter(name: String, sqlType: Int, rm: RowMapper<*>)

Create a new SqlInOutParameter.

Functions

isInputValueProvided

open fun isInputValueProvided(): Boolean

This implementation always returns true.

Inherited Functions

getSqlReturnType

open fun getSqlReturnType(): SqlReturnType

Return the custom return type, if any.

isReturnTypeSupported

open fun isReturnTypeSupported(): Boolean

Return whether this parameter holds a custom return type.