Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
feat: support for large update counts (JDBC 4.2) (#935)
Added support for large update counts of the JDBC 4.2 API (Java 8+) This implementation supports: PreparedStatement.executeLargeUpdate() Statement.executeLargeUpdate(String sql) Statement.getLargeUpdateCount() Statement.executeLargeBatch() Statement.executeLargeUpdate(String sql, int autoGeneratedKeys) * Statement.executeLargeUpdate(String sql, int[] columnIndexes) * Statement.executeLargeUpdate(String sql, String[] columnNames) *
- Loading branch information
Showing
with
588 additions
and 74 deletions.
- +1 −1 pgjdbc/src/main/java/org/postgresql/core/ResultHandler.java
- +1 −1 pgjdbc/src/main/java/org/postgresql/core/ResultHandlerBase.java
- +1 −1 pgjdbc/src/main/java/org/postgresql/core/ResultHandlerDelegate.java
- +8 −14 pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
- +60 −23 pgjdbc/src/main/java/org/postgresql/jdbc/BatchResultHandler.java
- +10 −1 pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java
- +4 −1 pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
- +67 −29 pgjdbc/src/main/java/org/postgresql/jdbc/PgStatement.java
- +3 −3 pgjdbc/src/main/java/org/postgresql/jdbc/ResultWrapper.java
- +20 −0 pgjdbc/src/test/java/org/postgresql/test/TestUtil.java
- +1 −0 pgjdbc/src/test/java/org/postgresql/test/jdbc42/Jdbc42TestSuite.java
- +412 −0 pgjdbc/src/test/java/org/postgresql/test/jdbc42/LargeCountJdbc42Test.java
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.