| java.lang.Object | |
| ↳ | org.springframework.jdbc.core.SqlParameter |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Object to represent a SQL parameter definition.
Parameters may be anonymous, in which case "name" is null.
However, all parameters must define a SQL type according to java.sql.Types.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new anonymous SqlParameter, supplying the SQL type.
| |||||||||||
Create a new anonymous SqlParameter, supplying the SQL type.
| |||||||||||
Create a new anonymous SqlParameter, supplying the SQL type.
| |||||||||||
Create a new SqlParameter, supplying name and SQL type.
| |||||||||||
Create a new SqlParameter, supplying name and SQL type.
| |||||||||||
Create a new SqlParameter, supplying name and SQL type.
| |||||||||||
Copy constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the name of the parameter.
| |||||||||||
Return the scale of the parameter, if any.
| |||||||||||
Return the SQL type of the parameter.
| |||||||||||
Return the type name of the parameter, if any.
| |||||||||||
Return whether this parameter holds input values that should be set
before execution even if they are
null. | |||||||||||
Return whether this parameter is an implicit return parameter used during the
results preocessing of the CallableStatement.getMoreResults/getUpdateCount.
| |||||||||||
Convert a list of JDBC types, as defined in
java.sql.Types,
to a List of SqlParameter objects as used in this package. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a new anonymous SqlParameter, supplying the SQL type.
| sqlType | SQL type of the parameter according to java.sql.Types
|
|---|
Create a new anonymous SqlParameter, supplying the SQL type.
| sqlType | SQL type of the parameter according to java.sql.Types |
|---|---|
| typeName | the type name of the parameter (optional) |
Create a new anonymous SqlParameter, supplying the SQL type.
| 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) |
Create a new SqlParameter, supplying name and SQL type.
| name | name of the parameter, as used in input and output maps |
|---|---|
| sqlType | SQL type of the parameter according to java.sql.Types
|
Create a new SqlParameter, supplying name and SQL type.
| 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) |
Create a new SqlParameter, supplying name and SQL type.
| 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) |
Copy constructor.
| otherParam | the SqlParameter object to copy from |
|---|
Return the SQL type of the parameter.
Return whether this parameter holds input values that should be set
before execution even if they are null.
This implementation always returns true.
Return whether this parameter is an implicit return parameter used during the results preocessing of the CallableStatement.getMoreResults/getUpdateCount.
This implementation always returns false.
Convert a list of JDBC types, as defined in java.sql.Types,
to a List of SqlParameter objects as used in this package.