Fixes are available
APAR status
Closed as program error.
Error description
The method getUpdateCount is returning -1 when using the IBM Data Server Driver for JDBC and SQLJ with Batch updates.
Local fix
The number of successful updates can be determined by iterating through the integer array returned by executeBatch.
Problem summary
Users Affected: This issue will occur when using the JCC driver to execute a batch. Problem Description: The method getUpdateCount is returning -1 when using the IBM Data Server Driver for JDBC and SQLJ with Batch updates.
Problem conclusion
Problem was first fixed in Version 9.5 Fix Pack 6 JCC Driver (3.59.81/4.9.78). This fix is applied to the client.
Temporary fix
The number of successful updates can be determined by iterating through the integer array returned by executeBatch.
Comments
APAR Information
APAR number
IZ73137
Reported component name
DB2 UDB ESE SOL
Reported component ID
5765F4102
Reported release
950
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-03-19
Closed date
2010-09-07
Last modified date
2010-09-07
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DB2 UDB ESE SOL
Fixed component ID
5765F4102
Applicable component levels
R950 PSY
UP
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950"}]
Document Information
Modified date:
06 October 2021