setBigDecimal(int parameterIndex, BigDecimal x)

Syntax:

void setBigDecimal(int parameterIndex,
                   BigDecimal x)
                   throws SQLException

Description:

RaimaDB does not support the SQL_NUMERIC type, so the JDBC driver for RaimaDB will convert the big decimal to a SQL_DOUBLE when it sends it to the database.

Parameters:

parameterIndex

the first parameter is 1, the second is 2, ...

x

the parameter value

Throws:

SQLException - if a database access error occurs, parameterIndex is less than 1 or greater than the number of parameters, or the prepared statement has been closed

Reference:

For more information, reference JDBC documentation for: PreparedStatement.setBigDecimal(int, BigDecimal)