-10220: Calling addBatch is not allowed for PreparedStatement / Calling clearBatch is not allowed for PreparedStatement

Explanation:

The SQLDBC_PreparedStatement::addBatch or SQLDBC_PreparedStatement::clearBatch method that was called cannot be used for SQLDBC_PreparedStatement objects.

User Action:

Only use the addBatch and clearBatch methods for SQLDBC_Statement objects.