Background documentation-10220: Calling addBatch is not allowed for PreparedStatement / Calling clearBatch is not allowed for PreparedStatement Locate this document in the navigation structure

 

Explanation

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

User Response

Only use the addBatch and clearBatch methods for SQLDBC_Statement objects.