[
https://issues.apache.org/jira/browse/DERBY-6206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-6206:
---------------------------------
Attachment: derby-6206-02-aa-ExecutionContext.diff
Attaching derby-6206-02-aa-ExecutionContext.diff. This patch improves the
encapsulation of the constants and string names for transaction isolation
levels. I am running tests now.
The patch moves the constants and their names from the ExecutionContext
interface to the TransactionControl class. Moving them to a class makes it
possible to retrieve values in a safe way with accessor methods.
Touches the following files:
--------------------
M java/engine/org/apache/derby/iapi/sql/execute/ExecutionContext.java
M java/engine/org/apache/derby/iapi/transaction/TransactionControl.java
The substance of the patch.
--------------------
M
java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
M java/engine/org/apache/derby/impl/sql/GenericStatement.java
M java/engine/org/apache/derby/impl/sql/compile/CompilerContextImpl.java
M java/engine/org/apache/derby/impl/sql/compile/FromVTI.java
M java/engine/org/apache/derby/impl/sql/compile/FromBaseTable.java
M java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
M
java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
M java/engine/org/apache/derby/impl/sql/execute/ScanResultSet.java
M java/engine/org/apache/derby/impl/sql/execute/DMLWriteResultSet.java
M java/engine/org/apache/derby/impl/sql/execute/RowChangerImpl.java
M java/engine/org/apache/derby/impl/sql/execute/VTIResultSet.java
M java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java
M java/drda/org/apache/derby/impl/drda/DRDAStatement.java
Corresponding changes to classes which reference the constants and their string
names.
> Cleanup suspect coding practices in misc Derby packages
> -------------------------------------------------------
>
> Key: DERBY-6206
> URL: https://issues.apache.org/jira/browse/DERBY-6206
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.11.0.0
> Reporter: Rick Hillegas
> Assignee: Rick Hillegas
> Priority: Minor
> Attachments: derby-6206-01-aa-NetworkServerControlImpl.diff,
> derby-6206-02-aa-ExecutionContext.diff
>
>
> Similar to DERBY-6177.
--
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