db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r642728 - /db/derby/code/branches/10.4/java/client/org/apache/derby/client/am/Connection.java
Date Sun, 30 Mar 2008 12:48:14 GMT
Author: kristwaa
Date: Sun Mar 30 05:48:13 2008
New Revision: 642728

URL: http://svn.apache.org/viewvc?rev=642728&view=rev
Log:
DERBY-3580: Remove unused method Connection.resetConnection(LogWriter, String, Properties).
Merged change from trunk revision 642726 (derby-3580-1a-remove-method.diff).

Modified:
    db/derby/code/branches/10.4/java/client/org/apache/derby/client/am/Connection.java

Modified: db/derby/code/branches/10.4/java/client/org/apache/derby/client/am/Connection.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.4/java/client/org/apache/derby/client/am/Connection.java?rev=642728&r1=642727&r2=642728&view=diff
==============================================================================
--- db/derby/code/branches/10.4/java/client/org/apache/derby/client/am/Connection.java (original)
+++ db/derby/code/branches/10.4/java/client/org/apache/derby/client/am/Connection.java Sun
Mar 30 05:48:13 2008
@@ -308,37 +308,6 @@
         }
     }
 
-    protected void resetConnection(LogWriter logWriter,
-                                   String databaseName,
-                                   java.util.Properties properties) throws SqlException {
-        // clearWarningsX() will re-initialize the following properties
-        // warnings_, accumulated440ForMessageProcFailure_,
-        // and accumulated444ForMessageProcFailure_
-        clearWarningsX();
-
-        databaseName_ = databaseName;
-        user_ = ClientDataSource.getUser(properties);
-
-        retrieveMessageText_ = ClientDataSource.getRetrieveMessageText(properties);
-
-
-        // property encryptionManager_
-        // if needed this will later be initialized by NET calls to initializePublicKeyForEncryption()
-        encryptionManager_ = null;
-
-        // property: open_
-        // this should already be true
-
-        isolation_ = TRANSACTION_UNKNOWN;
-        currentSchemaName_ = null;
-        autoCommit_ = true;
-        inUnitOfWork_ = false;
-
-        this.agent_.resetAgent(this, logWriter, loginTimeout_, serverNameIP_, portNumber_);
-
-    }
-
-
     // For jdbc 1 connections
     protected Connection(LogWriter logWriter,
                          int driverManagerLoginTimeout,



Mime
View raw message