When one or more errors occur processing a batch update command, the JDBC driver throws a single BatchUpdateException. An SQLException is generated for each error that occurs during the processing of the batch and chained to the BatchUpdateException in the order that the statements were added to the batch. Each SQLException identifies the statement with a message in the form:
"Batch element #: original message text"
|
Copyright © 2009 CA.
All rights reserved.
|
|