Searched refs:updateCounts (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/sql/ |
D | BatchUpdateException.java | 81 int[] updateCounts ) { in BatchUpdateException() argument 83 …this.updateCounts = (updateCounts == null) ? null : Arrays.copyOf(updateCounts, updateCounts.leng… in BatchUpdateException() 109 int[] updateCounts) { in BatchUpdateException() argument 110 this(reason, SQLState, 0, updateCounts); in BatchUpdateException() 135 public BatchUpdateException(String reason, int[] updateCounts) { in BatchUpdateException() argument 136 this(reason, null, 0, updateCounts); in BatchUpdateException() 158 public BatchUpdateException(int[] updateCounts) { in BatchUpdateException() argument 159 this(null, null, 0, updateCounts); in BatchUpdateException() 217 public BatchUpdateException(int []updateCounts , Throwable cause) { in BatchUpdateException() argument 218 this((cause == null ? null : cause.toString()), null, 0, updateCounts, cause); in BatchUpdateException() [all …]
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldStatementTest.java | 38 int[] updateCounts = st.executeBatch(); in testAddBatch() local 39 assertEquals(2, updateCounts.length); in testAddBatch() 40 assertEquals(1, updateCounts[0]); in testAddBatch() 41 assertEquals(1, updateCounts[1]); in testAddBatch() 173 int[] updateCounts = st.executeBatch(); in testClearBatch() local 175 for (int i = 0; i < updateCounts.length; i++) { in testClearBatch() 176 assertEquals(0, updateCounts[i]); in testClearBatch()
|