-
Bug
-
Resolution: Fixed
-
P4
-
1.4.1
-
None
-
hopper
-
generic
-
generic
The method Statement.executeBatch does not work properly when an empty batch of statements is passed. For example, when Statement.addBatch is executed several times followed by a clearBatch and then execute Statement.executeBatch, executeBatch should return an integer array with 0 length. However, the bridge if presently returning a null instead of an integer array with 0 length.
Reference: jdbc/ee/batchUpdate/batchUpdateClient.java#testClearBatch02
Reference: jdbc/ee/batchUpdate/batchUpdateClient.java#testClearBatch02