| java.lang.Object liquibase.database.template.SqlParameter liquibase.database.template.SqlParameterValue
SqlParameterValue | class SqlParameterValue extends SqlParameter (Code) | | Object to represent a SQL parameter value, including parameter metadata
such as the SQL type and the scale for numeric values.
Designed for use with
JdbcTemplate 's operations that take an array of
argument values: Each such argument value may be a SqlParameterValue ,
indicating the SQL type (and optionally the scale) instead of letting the
template guess a default type. Note that this only applies to the operations with
a 'plain' argument array, not to the overloaded variants with an explicit type array.
author: Spring Framework See Also: java.sql.Types |
Method Summary | |
public Object | getValue() Return the value object that this parameter value holds. |
SqlParameterValue | public SqlParameterValue(int sqlType, Object value)(Code) | | Create a new SqlParameterValue, supplying the SQL type.
Parameters: sqlType - SQL type of the parameter according to java.sql.Types Parameters: value - the value object |
SqlParameterValue | public SqlParameterValue(int sqlType, String typeName, Object value)(Code) | | Create a new SqlParameterValue, supplying the SQL type.
Parameters: sqlType - SQL type of the parameter according to java.sql.Types Parameters: typeName - the type name of the parameter (optional) Parameters: value - the value object |
SqlParameterValue | public SqlParameterValue(int sqlType, int scale, Object value)(Code) | | Create a new SqlParameterValue, supplying the SQL type.
Parameters: sqlType - SQL type of the parameter according to java.sql.Types Parameters: scale - the number of digits after the decimal point(for DECIMAL and NUMERIC types) Parameters: value - the value object |
SqlParameterValue | public SqlParameterValue(SqlParameter declaredParam, Object value)(Code) | | Create a new SqlParameterValue based on the given SqlParameter declaration.
Parameters: declaredParam - the declared SqlParameter to define a value for Parameters: value - the value object |
getValue | public Object getValue()(Code) | | Return the value object that this parameter value holds.
|
|
|