[ 
https://issues.apache.org/jira/browse/DERBY-6000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Hillegas updated DERBY-6000:
---------------------------------

    Attachment: derby-6000-04-aa-setLargeMaxRows.diff

Attaching derby-6000-04-aa-setLargeMaxRows.diff. This patch adds support for 
setting/getting large limits on returned row counts. I will run regression 
tests.

This patch adds the following JDBC 4.2 methods to the embedded and client 
drivers:

  Statement.setLargeMaxRows( long )
  Statement.getLargeMaxRows()

Mostly this involved changing the datatype of some variables from int to long 
and then adding the new methods. As with the previous patch, some debug entry 
points were added so that we can test the new methods without actually 
generating more than 2 billion rows.

Touches the following files:

----------

M       java/engine/org/apache/derby/iapi/sql/Activation.java
M       java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java
M       java/engine/org/apache/derby/iapi/jdbc/EngineStatement.java
M       
java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
M       java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java
M       java/engine/org/apache/derby/impl/sql/GenericActivationHolder.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedStatement.java

Embedded changes.

----------

M       java/client/org/apache/derby/client/am/Statement.java
M       java/client/org/apache/derby/client/am/Cursor.java
M       java/client/org/apache/derby/client/am/LogicalStatementEntity.java
M       java/client/org/apache/derby/client/am/ResultSet.java

Client changes.

----------

M       
java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/StatementTest.java

New tests.

                
> Implement support for JDBC 4.2
> ------------------------------
>
>                 Key: DERBY-6000
>                 URL: https://issues.apache.org/jira/browse/DERBY-6000
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC
>            Reporter: Rick Hillegas
>         Attachments: derby-6000-01-aa-executeLargeUpdateEmbedded.diff, 
> derby-6000-02-ad-executeLargeUpdateClient.diff, 
> derby-6000-03-aa-executeLargeBatch.diff, 
> derby-6000-04-aa-setLargeMaxRows.diff, JDBC_4.2_Changes.html
>
>
> Open JDK 8 will include maintenance rev 4.2 of JDBC. The public discussion of 
> JDBC 4.2 will take place here: http://openjdk.java.net/jeps/170. We will want 
> to build Derby support for JDBC 4.2 after a public spec appears. At this 
> time, it is unclear what Derby release will carry this support.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to