PreparedStatement.setBigDecimal
Interface Overview | Interface Members |
This Package |
All Packages
public abstract void setBigDecimal( int parameterIndex,
BigDecimal x ) throws SQLException
Parameters
- parameterIndex
- the first parameter is 1, the second is 2, ...
- x
- the parameter value
Description
Set a parameter to a java.lang.BigDecimal value.
The driver converts this to a SQL NUMERIC value when
it sends it to the database.
Exceptions
SQLException
if a database-access error occurs.