test_class.declarator: testClass
test_class.modifier: private
test_class.original_string: private ConnectionHandle testClass;
test_class.type: ConnectionHandle
test_class.var_name: testClass
test_class.declarator: mockConnection = createNiceMock(ConnectionHandle.class)
test_class.modifier: private
test_class.original_string: private ConnectionHandle mockConnection = createNiceMock(ConnectionHandle.class);
test_class.type: ConnectionHandle
test_class.var_name: mockConnection
test_class.declarator: mockPreparedStatementCache = createNiceMock(IStatementCache.class)
test_class.modifier: private
test_class.original_string: private IStatementCache mockPreparedStatementCache = createNiceMock(IStatementCache.class);
test_class.type: IStatementCache
test_class.var_name: mockPreparedStatementCache
test_class.declarator: mockCallableStatementCache = createNiceMock(IStatementCache.class)
test_class.modifier: private
test_class.original_string: private IStatementCache mockCallableStatementCache = createNiceMock(IStatementCache.class);
test_class.type: IStatementCache
test_class.var_name: mockCallableStatementCache
test_class.declarator: mockPool = createNiceMock(BoneCP.class)
test_class.modifier: private
test_class.original_string: private BoneCP mockPool = createNiceMock(BoneCP.class);
test_class.type: BoneCP
test_class.var_name: mockPool
test_class.declarator: mockLogger
test_class.modifier: private
test_class.original_string: private Logger mockLogger;
test_class.type: Logger
test_class.var_name: mockLogger
test_class.declarator: testStatementCache = new StatementCache(100, false, new Statistics(this.mockPool))
test_class.modifier: private
test_class.original_string: private StatementCache testStatementCache = new StatementCache(100, false, new Statistics(this.mockPool));
test_class.type: StatementCache
test_class.var_name: testStatementCache
test_class.declarator: config
test_class.modifier: private
test_class.original_string: private BoneCPConfig config;
test_class.type: BoneCPConfig
test_class.var_name: config
test_class.declarator: count=1
test_class.modifier: static
test_class.original_string: static int count=1;
test_class.type: int
test_class.var_name: count
test_class.declarator: interrupted = false
test_class.original_string: boolean interrupted = false;
test_class.type: boolean
test_class.var_name: interrupted
test_class.declarator: started = false
test_class.original_string: boolean started = false;
test_class.type: boolean
test_class.var_name: started
test_class.file: bonecp/src/test/java/com/jolbox/bonecp/TestConnectionHandle.java
test_class.identifier: TestConnectionHandle
test_case.body: @Test 
  	public void testClose() throws SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, SQLException, InterruptedException{
  
  		this.testClass.doubleCloseCheck = true;
  		Connection mockInternalConnection = EasyMock.createNiceMock(Connection.class);
  		this.testClass.setInternalConnection(mockInternalConnection);
  
  		this.testClass.renewConnection();
  		this.mockPool.releaseConnection((Connection)anyObject());
  		expectLastCall().once().andThrow(new SQLException()).once();
  		expect(this.mockPool.getFinalizableRefs()).andReturn(new HashMap<Connection, Reference<ConnectionHandle>>()).anyTimes();
  		expect(this.mockPool.getConfig()).andReturn(this.config).anyTimes();
  		expect(mockInternalConnection.isClosed()).andReturn(false).anyTimes();
  		replay(this.mockPool, mockInternalConnection);
  
  		// create a thread so that we can check that thread.interrupt was called during connection close.
  		//		final Thread thisThread = Thread.currentThread();
  		Thread testThread = new Thread(new Runnable() {
  
  			public void run() {
  				try {
  					TestConnectionHandle.this.started = true;
  					while(true){
  						Thread.sleep(20);
  					}
  				} catch (Exception e) {
  					TestConnectionHandle.this.interrupted = true;
  
  				}
  			}
  		});
  		testThread.start();
  		while (!this.started){
  			Thread.sleep(20);
  		}
  		this.testClass.setThreadWatch(testThread);
  		this.testClass.close();
  		testThread.join();
  		assertTrue(this.interrupted); // thread should have been interrupted 
  
  		// logically mark the connection as closed
  		Assert.assertTrue(this.testClass.logicallyClosed.get());
  		assertTrue(this.testClass.isClosed());
  
  
  
  
  		this.testClass.renewConnection();
  		try{
  			this.testClass.close(); // 2nd time should throw an exception
  			fail("Should have thrown an exception");
  		} catch (Throwable t){
  			// do nothing.
  		}
  
  	}
test_case.class_method_signature: TestConnectionHandle.testClose()
test_case.full_signature: @Test public void testClose()
test_case.identifier: testClose
test_case.invocations: createNiceMock setInternalConnection renewConnection releaseConnection anyObject once andThrow once expectLastCall anyTimes andReturn expect getFinalizableRefs anyTimes andReturn expect getConfig anyTimes andReturn expect isClosed replay sleep start sleep setThreadWatch close join assertTrue assertTrue get assertTrue isClosed renewConnection close fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testClose()
focal_class.declarator: serialVersionUID = 5969210523116801522L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 5969210523116801522L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: SET_AUTO_COMMIT_FALSE_WAS_CALLED_MESSAGE = "setAutoCommit(false) was called but transaction was not COMMITted or ROLLBACKed properly before it was closed.\n"
focal_class.modifier: private static final
focal_class.original_string: private static final String SET_AUTO_COMMIT_FALSE_WAS_CALLED_MESSAGE = "setAutoCommit(false) was called but transaction was not COMMITted or ROLLBACKed properly before it was closed.\n";
focal_class.type: String
focal_class.var_name: SET_AUTO_COMMIT_FALSE_WAS_CALLED_MESSAGE
focal_class.declarator: STATEMENT_NOT_CLOSED = "Stack trace of location where statement was opened follows:\n%s"
focal_class.modifier: private static final
focal_class.original_string: private static final String STATEMENT_NOT_CLOSED = "Stack trace of location where statement was opened follows:\n%s";
focal_class.type: String
focal_class.var_name: STATEMENT_NOT_CLOSED
focal_class.declarator: LOG_ERROR_MESSAGE = "Connection closed twice exception detected.\n%s\n%s\n"
focal_class.modifier: private static final
focal_class.original_string: private static final String LOG_ERROR_MESSAGE = "Connection closed twice exception detected.\n%s\n%s\n";
focal_class.type: String
focal_class.var_name: LOG_ERROR_MESSAGE
focal_class.declarator: UNCLOSED_LOG_ERROR_MESSAGE= "Statement was not properly closed off before this connection was closed.\n%s"
focal_class.modifier: private static final
focal_class.original_string: private static final String UNCLOSED_LOG_ERROR_MESSAGE= "Statement was not properly closed off before this connection was closed.\n%s";
focal_class.type: String
focal_class.var_name: UNCLOSED_LOG_ERROR_MESSAGE
focal_class.declarator: CLOSED_TWICE_EXCEPTION_MESSAGE = "Connection closed from thread [%s] was closed again.\nStack trace of location where connection was first closed follows:\n"
focal_class.modifier: private static final
focal_class.original_string: private static final String CLOSED_TWICE_EXCEPTION_MESSAGE = "Connection closed from thread [%s] was closed again.\nStack trace of location where connection was first closed follows:\n";
focal_class.type: String
focal_class.var_name: CLOSED_TWICE_EXCEPTION_MESSAGE
focal_class.declarator: testSupport
focal_class.modifier: protected static
focal_class.original_string: protected static boolean testSupport;
focal_class.type: boolean
focal_class.var_name: testSupport
focal_class.declarator: connection = null
focal_class.modifier: protected
focal_class.original_string: protected Connection connection = null;
focal_class.type: Connection
focal_class.var_name: connection
focal_class.declarator: connectionLastUsedInMs
focal_class.modifier: private
focal_class.original_string: private long connectionLastUsedInMs;
focal_class.type: long
focal_class.var_name: connectionLastUsedInMs
focal_class.declarator: connectionLastResetInMs
focal_class.modifier: private
focal_class.original_string: private long connectionLastResetInMs;
focal_class.type: long
focal_class.var_name: connectionLastResetInMs
focal_class.declarator: connectionCreationTimeInMs
focal_class.modifier: protected
focal_class.original_string: protected long connectionCreationTimeInMs;
focal_class.type: long
focal_class.var_name: connectionCreationTimeInMs
focal_class.declarator: pool
focal_class.modifier: private
focal_class.original_string: private BoneCP pool;
focal_class.type: BoneCP
focal_class.var_name: pool
focal_class.declarator: defaultReadOnly
focal_class.modifier: private
focal_class.original_string: private Boolean defaultReadOnly;
focal_class.type: Boolean
focal_class.var_name: defaultReadOnly
focal_class.declarator: defaultCatalog
focal_class.modifier: private
focal_class.original_string: private String defaultCatalog;
focal_class.type: String
focal_class.var_name: defaultCatalog
focal_class.declarator: defaultTransactionIsolationValue = -1
focal_class.modifier: private
focal_class.original_string: private int defaultTransactionIsolationValue = -1;
focal_class.type: int
focal_class.var_name: defaultTransactionIsolationValue
focal_class.declarator: defaultAutoCommit
focal_class.modifier: private
focal_class.original_string: private Boolean defaultAutoCommit;
focal_class.type: Boolean
focal_class.var_name: defaultAutoCommit
focal_class.declarator: resetConnectionOnClose
focal_class.modifier: protected
focal_class.original_string: protected boolean resetConnectionOnClose;
focal_class.type: boolean
focal_class.var_name: resetConnectionOnClose
focal_class.declarator: possiblyBroken
focal_class.modifier: protected
focal_class.original_string: protected boolean possiblyBroken;
focal_class.type: boolean
focal_class.var_name: possiblyBroken
focal_class.declarator: logicallyClosed = new AtomicBoolean()
focal_class.modifier: protected
focal_class.original_string: protected AtomicBoolean logicallyClosed = new AtomicBoolean();
focal_class.type: AtomicBoolean
focal_class.var_name: logicallyClosed
focal_class.declarator: originatingPartition = null
focal_class.modifier: private
focal_class.original_string: private ConnectionPartition originatingPartition = null;
focal_class.type: ConnectionPartition
focal_class.var_name: originatingPartition
focal_class.declarator: preparedStatementCache = null
focal_class.modifier: private
focal_class.original_string: private IStatementCache preparedStatementCache = null;
focal_class.type: IStatementCache
focal_class.var_name: preparedStatementCache
focal_class.declarator: callableStatementCache = null
focal_class.modifier: private
focal_class.original_string: private IStatementCache callableStatementCache = null;
focal_class.type: IStatementCache
focal_class.var_name: callableStatementCache
focal_class.declarator: logger = LoggerFactory.getLogger(ConnectionHandle.class)
focal_class.modifier: protected static
focal_class.original_string: protected static Logger logger = LoggerFactory.getLogger(ConnectionHandle.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: debugHandle
focal_class.modifier: private
focal_class.original_string: private Object debugHandle;
focal_class.type: Object
focal_class.var_name: debugHandle
focal_class.declarator: connectionHook
focal_class.modifier: private
focal_class.original_string: private ConnectionHook connectionHook;
focal_class.type: ConnectionHook
focal_class.var_name: connectionHook
focal_class.declarator: doubleCloseCheck
focal_class.modifier: protected
focal_class.original_string: protected boolean doubleCloseCheck;
focal_class.type: boolean
focal_class.var_name: doubleCloseCheck
focal_class.declarator: doubleCloseException = null
focal_class.modifier: protected volatile
focal_class.original_string: protected volatile String doubleCloseException = null;
focal_class.type: String
focal_class.var_name: doubleCloseException
focal_class.declarator: logStatementsEnabled
focal_class.modifier: private
focal_class.original_string: private boolean logStatementsEnabled;
focal_class.type: boolean
focal_class.var_name: logStatementsEnabled
focal_class.declarator: statementCachingEnabled
focal_class.modifier: protected
focal_class.original_string: protected boolean statementCachingEnabled;
focal_class.type: boolean
focal_class.var_name: statementCachingEnabled
focal_class.declarator: replayLog
focal_class.modifier: private
focal_class.original_string: private List<ReplayLog> replayLog;
focal_class.type: List<ReplayLog>
focal_class.var_name: replayLog
focal_class.declarator: inReplayMode
focal_class.modifier: private
focal_class.original_string: private boolean inReplayMode;
focal_class.type: boolean
focal_class.var_name: inReplayMode
focal_class.declarator: recoveryResult
focal_class.modifier: protected
focal_class.original_string: protected TransactionRecoveryResult recoveryResult;
focal_class.type: TransactionRecoveryResult
focal_class.var_name: recoveryResult
focal_class.declarator: url
focal_class.modifier: protected
focal_class.original_string: protected String url;
focal_class.type: String
focal_class.var_name: url
focal_class.declarator: threadUsingConnection
focal_class.modifier: protected
focal_class.original_string: protected Thread threadUsingConnection;
focal_class.type: Thread
focal_class.var_name: threadUsingConnection
focal_class.declarator: maxConnectionAgeInMs
focal_class.modifier: @VisibleForTesting protected
focal_class.original_string: @VisibleForTesting protected long maxConnectionAgeInMs;
focal_class.type: long
focal_class.var_name: maxConnectionAgeInMs
focal_class.declarator: statisticsEnabled
focal_class.modifier: private
focal_class.original_string: private boolean statisticsEnabled;
focal_class.type: boolean
focal_class.var_name: statisticsEnabled
focal_class.declarator: statistics
focal_class.modifier: private
focal_class.original_string: private Statistics statistics;
focal_class.type: Statistics
focal_class.var_name: statistics
focal_class.declarator: threadWatch
focal_class.modifier: private volatile
focal_class.original_string: private volatile Thread threadWatch;
focal_class.type: Thread
focal_class.var_name: threadWatch
focal_class.declarator: finalizableRefs
focal_class.modifier: protected
focal_class.original_string: protected Map<Connection, Reference<ConnectionHandle>> finalizableRefs;
focal_class.type: Map<Connection, Reference<ConnectionHandle>>
focal_class.var_name: finalizableRefs
focal_class.declarator: connectionTrackingDisabled
focal_class.modifier: protected
focal_class.original_string: protected boolean connectionTrackingDisabled;
focal_class.type: boolean
focal_class.var_name: connectionTrackingDisabled
focal_class.declarator: txResolved = true
focal_class.modifier: @VisibleForTesting protected
focal_class.original_string: @VisibleForTesting protected boolean txResolved = true;
focal_class.type: boolean
focal_class.var_name: txResolved
focal_class.declarator: detectUnresolvedTransactions
focal_class.modifier: @VisibleForTesting protected
focal_class.original_string: @VisibleForTesting protected boolean detectUnresolvedTransactions;
focal_class.type: boolean
focal_class.var_name: detectUnresolvedTransactions
focal_class.declarator: autoCommitStackTrace
focal_class.modifier: protected
focal_class.original_string: protected String autoCommitStackTrace;
focal_class.type: String
focal_class.var_name: autoCommitStackTrace
focal_class.declarator: detectUnclosedStatements
focal_class.modifier: protected
focal_class.original_string: protected boolean detectUnclosedStatements;
focal_class.type: boolean
focal_class.var_name: detectUnclosedStatements
focal_class.declarator: closeOpenStatements
focal_class.modifier: protected
focal_class.original_string: protected boolean closeOpenStatements;
focal_class.type: boolean
focal_class.var_name: closeOpenStatements
focal_class.declarator: sqlStateDBFailureCodes = ImmutableSet.of("08001", "08006", "08007", "08S01", "57P01")
focal_class.modifier: private static final
focal_class.original_string: private static final ImmutableSet<String> sqlStateDBFailureCodes = ImmutableSet.of("08001", "08006", "08007", "08S01", "57P01");
focal_class.type: ImmutableSet<String>
focal_class.var_name: sqlStateDBFailureCodes
focal_class.declarator: trackedStatement
focal_class.modifier: protected
focal_class.original_string: protected ConcurrentMap<Statement, String> trackedStatement;
focal_class.type: ConcurrentMap<Statement, String>
focal_class.var_name: trackedStatement
focal_class.declarator: noStackTrace = ""
focal_class.modifier: private final
focal_class.original_string: private final String noStackTrace = "";
focal_class.type: String
focal_class.var_name: noStackTrace
focal_class.file: bonecp/src/main/java/com/jolbox/bonecp/ConnectionHandle.java
focal_class.identifier: ConnectionHandle
focal_class.interfaces: implements Connection,Serializable
focal_class.class_method_signature: ConnectionHandle.ConnectionHandle(Connection connection, ConnectionPartition partition, BoneCP pool, boolean recreating)
focal_class.full_signature: protected  ConnectionHandle(Connection connection, ConnectionPartition partition, BoneCP pool, boolean recreating)
focal_class.identifier: ConnectionHandle
focal_class.modifiers: protected
focal_class.parameters: (Connection connection, ConnectionPartition partition, BoneCP pool, boolean recreating)
focal_class.signature:  ConnectionHandle(Connection connection, ConnectionPartition partition, BoneCP pool, boolean recreating)
focal_class.class_method_signature: ConnectionHandle.recreateConnectionHandle()
focal_class.full_signature: public ConnectionHandle recreateConnectionHandle()
focal_class.identifier: recreateConnectionHandle
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ConnectionHandle
focal_class.signature: ConnectionHandle recreateConnectionHandle()
focal_class.class_method_signature: ConnectionHandle.createTestConnectionHandle(Connection connection, IStatementCache preparedStatementCache, IStatementCache callableStatementCache, BoneCP pool)
focal_class.full_signature: protected static ConnectionHandle createTestConnectionHandle(Connection connection, IStatementCache preparedStatementCache, IStatementCache callableStatementCache, BoneCP pool)
focal_class.identifier: createTestConnectionHandle
focal_class.modifiers: protected static
focal_class.parameters: (Connection connection, IStatementCache preparedStatementCache, IStatementCache callableStatementCache, BoneCP pool)
focal_class.return: ConnectionHandle
focal_class.signature: ConnectionHandle createTestConnectionHandle(Connection connection, IStatementCache preparedStatementCache, IStatementCache callableStatementCache, BoneCP pool)
focal_class.class_method_signature: ConnectionHandle.ConnectionHandle()
focal_class.full_signature: private  ConnectionHandle()
focal_class.identifier: ConnectionHandle
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ConnectionHandle()
focal_class.class_method_signature: ConnectionHandle.sendInitSQL()
focal_class.full_signature: public void sendInitSQL()
focal_class.identifier: sendInitSQL
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void sendInitSQL()
focal_class.class_method_signature: ConnectionHandle.sendInitSQL(Connection connection, String initSQL)
focal_class.full_signature: protected static void sendInitSQL(Connection connection, String initSQL)
focal_class.identifier: sendInitSQL
focal_class.modifiers: protected static
focal_class.parameters: (Connection connection, String initSQL)
focal_class.return: void
focal_class.signature: void sendInitSQL(Connection connection, String initSQL)
focal_class.class_method_signature: ConnectionHandle.markPossiblyBroken(SQLException e)
focal_class.full_signature: protected SQLException markPossiblyBroken(SQLException e)
focal_class.identifier: markPossiblyBroken
focal_class.modifiers: protected
focal_class.parameters: (SQLException e)
focal_class.return: SQLException
focal_class.signature: SQLException markPossiblyBroken(SQLException e)
focal_class.class_method_signature: ConnectionHandle.clearWarnings()
focal_class.full_signature: public void clearWarnings()
focal_class.identifier: clearWarnings
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearWarnings()
focal_class.class_method_signature: ConnectionHandle.checkClosed()
focal_class.full_signature: private void checkClosed()
focal_class.identifier: checkClosed
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkClosed()
focal_class.class_method_signature: ConnectionHandle.close()
focal_class.full_signature: public void close()
focal_class.identifier: close
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: ConnectionHandle.internalClose()
focal_class.full_signature: protected void internalClose()
focal_class.identifier: internalClose
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void internalClose()
focal_class.class_method_signature: ConnectionHandle.commit()
focal_class.full_signature: public void commit()
focal_class.identifier: commit
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void commit()
focal_class.class_method_signature: ConnectionHandle.getClientInfo()
focal_class.full_signature: public Properties getClientInfo()
focal_class.identifier: getClientInfo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Properties
focal_class.signature: Properties getClientInfo()
focal_class.class_method_signature: ConnectionHandle.getClientInfo(String name)
focal_class.full_signature: public String getClientInfo(String name)
focal_class.identifier: getClientInfo
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String getClientInfo(String name)
focal_class.class_method_signature: ConnectionHandle.isValid(int timeout)
focal_class.full_signature: public boolean isValid(int timeout)
focal_class.identifier: isValid
focal_class.modifiers: public
focal_class.parameters: (int timeout)
focal_class.return: boolean
focal_class.signature: boolean isValid(int timeout)
focal_class.class_method_signature: ConnectionHandle.isWrapperFor(Class<?> iface)
focal_class.full_signature: public boolean isWrapperFor(Class<?> iface)
focal_class.identifier: isWrapperFor
focal_class.modifiers: public
focal_class.parameters: (Class<?> iface)
focal_class.return: boolean
focal_class.signature: boolean isWrapperFor(Class<?> iface)
focal_class.class_method_signature: ConnectionHandle.unwrap(Class<T> iface)
focal_class.full_signature: public T unwrap(Class<T> iface)
focal_class.identifier: unwrap
focal_class.modifiers: public
focal_class.parameters: (Class<T> iface)
focal_class.return: T
focal_class.signature: T unwrap(Class<T> iface)
focal_class.class_method_signature: ConnectionHandle.setClientInfo(Properties properties)
focal_class.full_signature: public void setClientInfo(Properties properties)
focal_class.identifier: setClientInfo
focal_class.modifiers: public
focal_class.parameters: (Properties properties)
focal_class.return: void
focal_class.signature: void setClientInfo(Properties properties)
focal_class.class_method_signature: ConnectionHandle.setClientInfo(String name, String value)
focal_class.full_signature: public void setClientInfo(String name, String value)
focal_class.identifier: setClientInfo
focal_class.modifiers: public
focal_class.parameters: (String name, String value)
focal_class.return: void
focal_class.signature: void setClientInfo(String name, String value)
focal_class.class_method_signature: ConnectionHandle.createStruct(String typeName, Object[] attributes)
focal_class.full_signature: public Struct createStruct(String typeName, Object[] attributes)
focal_class.identifier: createStruct
focal_class.modifiers: public
focal_class.parameters: (String typeName, Object[] attributes)
focal_class.return: Struct
focal_class.signature: Struct createStruct(String typeName, Object[] attributes)
focal_class.class_method_signature: ConnectionHandle.createArrayOf(String typeName, Object[] elements)
focal_class.full_signature: public Array createArrayOf(String typeName, Object[] elements)
focal_class.identifier: createArrayOf
focal_class.modifiers: public
focal_class.parameters: (String typeName, Object[] elements)
focal_class.return: Array
focal_class.signature: Array createArrayOf(String typeName, Object[] elements)
focal_class.class_method_signature: ConnectionHandle.createBlob()
focal_class.full_signature: public Blob createBlob()
focal_class.identifier: createBlob
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Blob
focal_class.signature: Blob createBlob()
focal_class.class_method_signature: ConnectionHandle.createClob()
focal_class.full_signature: public Clob createClob()
focal_class.identifier: createClob
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Clob
focal_class.signature: Clob createClob()
focal_class.class_method_signature: ConnectionHandle.createNClob()
focal_class.full_signature: public NClob createNClob()
focal_class.identifier: createNClob
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: NClob
focal_class.signature: NClob createNClob()
focal_class.class_method_signature: ConnectionHandle.createSQLXML()
focal_class.full_signature: public SQLXML createSQLXML()
focal_class.identifier: createSQLXML
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SQLXML
focal_class.signature: SQLXML createSQLXML()
focal_class.class_method_signature: ConnectionHandle.setSchema(String schema)
focal_class.full_signature: public void setSchema(String schema)
focal_class.identifier: setSchema
focal_class.modifiers: public
focal_class.parameters: (String schema)
focal_class.return: void
focal_class.signature: void setSchema(String schema)
focal_class.class_method_signature: ConnectionHandle.getSchema()
focal_class.full_signature: public String getSchema()
focal_class.identifier: getSchema
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSchema()
focal_class.class_method_signature: ConnectionHandle.abort(Executor executor)
focal_class.full_signature: public void abort(Executor executor)
focal_class.identifier: abort
focal_class.modifiers: public
focal_class.parameters: (Executor executor)
focal_class.return: void
focal_class.signature: void abort(Executor executor)
focal_class.class_method_signature: ConnectionHandle.setNetworkTimeout(Executor executor, int milliseconds)
focal_class.full_signature: public void setNetworkTimeout(Executor executor, int milliseconds)
focal_class.identifier: setNetworkTimeout
focal_class.modifiers: public
focal_class.parameters: (Executor executor, int milliseconds)
focal_class.return: void
focal_class.signature: void setNetworkTimeout(Executor executor, int milliseconds)
focal_class.class_method_signature: ConnectionHandle.getNetworkTimeout()
focal_class.full_signature: public int getNetworkTimeout()
focal_class.identifier: getNetworkTimeout
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNetworkTimeout()
focal_class.class_method_signature: ConnectionHandle.createStatement()
focal_class.full_signature: public Statement createStatement()
focal_class.identifier: createStatement
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Statement
focal_class.signature: Statement createStatement()
focal_class.class_method_signature: ConnectionHandle.createStatement(int resultSetType, int resultSetConcurrency)
focal_class.full_signature: public Statement createStatement(int resultSetType, int resultSetConcurrency)
focal_class.identifier: createStatement
focal_class.modifiers: public
focal_class.parameters: (int resultSetType, int resultSetConcurrency)
focal_class.return: Statement
focal_class.signature: Statement createStatement(int resultSetType, int resultSetConcurrency)
focal_class.class_method_signature: ConnectionHandle.createStatement(int resultSetType,
  			int resultSetConcurrency, int resultSetHoldability)
focal_class.full_signature: public Statement createStatement(int resultSetType,
  			int resultSetConcurrency, int resultSetHoldability)
focal_class.identifier: createStatement
focal_class.modifiers: public
focal_class.parameters: (int resultSetType,
  			int resultSetConcurrency, int resultSetHoldability)
focal_class.return: Statement
focal_class.signature: Statement createStatement(int resultSetType,
  			int resultSetConcurrency, int resultSetHoldability)
focal_class.class_method_signature: ConnectionHandle.maybeCaptureStackTrace()
focal_class.full_signature: protected String maybeCaptureStackTrace()
focal_class.identifier: maybeCaptureStackTrace
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String maybeCaptureStackTrace()
focal_class.class_method_signature: ConnectionHandle.getAutoCommit()
focal_class.full_signature: public boolean getAutoCommit()
focal_class.identifier: getAutoCommit
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getAutoCommit()
focal_class.class_method_signature: ConnectionHandle.getCatalog()
focal_class.full_signature: public String getCatalog()
focal_class.identifier: getCatalog
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCatalog()
focal_class.class_method_signature: ConnectionHandle.getHoldability()
focal_class.full_signature: public int getHoldability()
focal_class.identifier: getHoldability
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getHoldability()
focal_class.class_method_signature: ConnectionHandle.getMetaData()
focal_class.full_signature: public DatabaseMetaData getMetaData()
focal_class.identifier: getMetaData
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DatabaseMetaData
focal_class.signature: DatabaseMetaData getMetaData()
focal_class.class_method_signature: ConnectionHandle.getTransactionIsolation()
focal_class.full_signature: public int getTransactionIsolation()
focal_class.identifier: getTransactionIsolation
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getTransactionIsolation()
focal_class.class_method_signature: ConnectionHandle.getTypeMap()
focal_class.full_signature: public Map<String, Class<?>> getTypeMap()
focal_class.identifier: getTypeMap
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, Class<?>>
focal_class.signature: Map<String, Class<?>> getTypeMap()
focal_class.class_method_signature: ConnectionHandle.getWarnings()
focal_class.full_signature: public SQLWarning getWarnings()
focal_class.identifier: getWarnings
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SQLWarning
focal_class.signature: SQLWarning getWarnings()
focal_class.class_method_signature: ConnectionHandle.isClosed()
focal_class.full_signature: public boolean isClosed()
focal_class.identifier: isClosed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isClosed()
focal_class.class_method_signature: ConnectionHandle.isReadOnly()
focal_class.full_signature: public boolean isReadOnly()
focal_class.identifier: isReadOnly
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isReadOnly()
focal_class.class_method_signature: ConnectionHandle.nativeSQL(String sql)
focal_class.full_signature: public String nativeSQL(String sql)
focal_class.identifier: nativeSQL
focal_class.modifiers: public
focal_class.parameters: (String sql)
focal_class.return: String
focal_class.signature: String nativeSQL(String sql)
focal_class.class_method_signature: ConnectionHandle.prepareCall(String sql)
focal_class.full_signature: public CallableStatement prepareCall(String sql)
focal_class.identifier: prepareCall
focal_class.modifiers: public
focal_class.parameters: (String sql)
focal_class.return: CallableStatement
focal_class.signature: CallableStatement prepareCall(String sql)
focal_class.class_method_signature: ConnectionHandle.prepareCall(String sql, int resultSetType,	int resultSetConcurrency)
focal_class.full_signature: public CallableStatement prepareCall(String sql, int resultSetType,	int resultSetConcurrency)
focal_class.identifier: prepareCall
focal_class.modifiers: public
focal_class.parameters: (String sql, int resultSetType,	int resultSetConcurrency)
focal_class.return: CallableStatement
focal_class.signature: CallableStatement prepareCall(String sql, int resultSetType,	int resultSetConcurrency)
focal_class.class_method_signature: ConnectionHandle.prepareCall(String sql, int resultSetType,
  			int resultSetConcurrency, int resultSetHoldability)
focal_class.full_signature: public CallableStatement prepareCall(String sql, int resultSetType,
  			int resultSetConcurrency, int resultSetHoldability)
focal_class.identifier: prepareCall
focal_class.modifiers: public
focal_class.parameters: (String sql, int resultSetType,
  			int resultSetConcurrency, int resultSetHoldability)
focal_class.return: CallableStatement
focal_class.signature: CallableStatement prepareCall(String sql, int resultSetType,
  			int resultSetConcurrency, int resultSetHoldability)
focal_class.class_method_signature: ConnectionHandle.prepareStatement(String sql)
focal_class.full_signature: public PreparedStatement prepareStatement(String sql)
focal_class.identifier: prepareStatement
focal_class.modifiers: public
focal_class.parameters: (String sql)
focal_class.return: PreparedStatement
focal_class.signature: PreparedStatement prepareStatement(String sql)
focal_class.class_method_signature: ConnectionHandle.prepareStatement(String sql, int autoGeneratedKeys)
focal_class.full_signature: public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys)
focal_class.identifier: prepareStatement
focal_class.modifiers: public
focal_class.parameters: (String sql, int autoGeneratedKeys)
focal_class.return: PreparedStatement
focal_class.signature: PreparedStatement prepareStatement(String sql, int autoGeneratedKeys)
focal_class.class_method_signature: ConnectionHandle.prepareStatement(String sql, int[] columnIndexes)
focal_class.full_signature: public PreparedStatement prepareStatement(String sql, int[] columnIndexes)
focal_class.identifier: prepareStatement
focal_class.modifiers: public
focal_class.parameters: (String sql, int[] columnIndexes)
focal_class.return: PreparedStatement
focal_class.signature: PreparedStatement prepareStatement(String sql, int[] columnIndexes)
focal_class.class_method_signature: ConnectionHandle.prepareStatement(String sql, String[] columnNames)
focal_class.full_signature: public PreparedStatement prepareStatement(String sql, String[] columnNames)
focal_class.identifier: prepareStatement
focal_class.modifiers: public
focal_class.parameters: (String sql, String[] columnNames)
focal_class.return: PreparedStatement
focal_class.signature: PreparedStatement prepareStatement(String sql, String[] columnNames)
focal_class.class_method_signature: ConnectionHandle.prepareStatement(String sql, int resultSetType,  int resultSetConcurrency)
focal_class.full_signature: public PreparedStatement prepareStatement(String sql, int resultSetType,  int resultSetConcurrency)
focal_class.identifier: prepareStatement
focal_class.modifiers: public
focal_class.parameters: (String sql, int resultSetType,  int resultSetConcurrency)
focal_class.return: PreparedStatement
focal_class.signature: PreparedStatement prepareStatement(String sql, int resultSetType,  int resultSetConcurrency)
focal_class.class_method_signature: ConnectionHandle.prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
focal_class.full_signature: public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
focal_class.identifier: prepareStatement
focal_class.modifiers: public
focal_class.parameters: (String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
focal_class.return: PreparedStatement
focal_class.signature: PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
focal_class.class_method_signature: ConnectionHandle.releaseSavepoint(Savepoint savepoint)
focal_class.full_signature: public void releaseSavepoint(Savepoint savepoint)
focal_class.identifier: releaseSavepoint
focal_class.modifiers: public
focal_class.parameters: (Savepoint savepoint)
focal_class.return: void
focal_class.signature: void releaseSavepoint(Savepoint savepoint)
focal_class.class_method_signature: ConnectionHandle.rollback()
focal_class.full_signature: public void rollback()
focal_class.identifier: rollback
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void rollback()
focal_class.class_method_signature: ConnectionHandle.rollback(Savepoint savepoint)
focal_class.full_signature: public void rollback(Savepoint savepoint)
focal_class.identifier: rollback
focal_class.modifiers: public
focal_class.parameters: (Savepoint savepoint)
focal_class.return: void
focal_class.signature: void rollback(Savepoint savepoint)
focal_class.class_method_signature: ConnectionHandle.setAutoCommit(boolean autoCommit)
focal_class.full_signature: public void setAutoCommit(boolean autoCommit)
focal_class.identifier: setAutoCommit
focal_class.modifiers: public
focal_class.parameters: (boolean autoCommit)
focal_class.return: void
focal_class.signature: void setAutoCommit(boolean autoCommit)
focal_class.class_method_signature: ConnectionHandle.setCatalog(String catalog)
focal_class.full_signature: public void setCatalog(String catalog)
focal_class.identifier: setCatalog
focal_class.modifiers: public
focal_class.parameters: (String catalog)
focal_class.return: void
focal_class.signature: void setCatalog(String catalog)
focal_class.class_method_signature: ConnectionHandle.setHoldability(int holdability)
focal_class.full_signature: public void setHoldability(int holdability)
focal_class.identifier: setHoldability
focal_class.modifiers: public
focal_class.parameters: (int holdability)
focal_class.return: void
focal_class.signature: void setHoldability(int holdability)
focal_class.class_method_signature: ConnectionHandle.setReadOnly(boolean readOnly)
focal_class.full_signature: public void setReadOnly(boolean readOnly)
focal_class.identifier: setReadOnly
focal_class.modifiers: public
focal_class.parameters: (boolean readOnly)
focal_class.return: void
focal_class.signature: void setReadOnly(boolean readOnly)
focal_class.class_method_signature: ConnectionHandle.setSavepoint()
focal_class.full_signature: public Savepoint setSavepoint()
focal_class.identifier: setSavepoint
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Savepoint
focal_class.signature: Savepoint setSavepoint()
focal_class.class_method_signature: ConnectionHandle.setSavepoint(String name)
focal_class.full_signature: public Savepoint setSavepoint(String name)
focal_class.identifier: setSavepoint
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: Savepoint
focal_class.signature: Savepoint setSavepoint(String name)
focal_class.class_method_signature: ConnectionHandle.setTransactionIsolation(int level)
focal_class.full_signature: public void setTransactionIsolation(int level)
focal_class.identifier: setTransactionIsolation
focal_class.modifiers: public
focal_class.parameters: (int level)
focal_class.return: void
focal_class.signature: void setTransactionIsolation(int level)
focal_class.class_method_signature: ConnectionHandle.setTypeMap(Map<String, Class<?>> map)
focal_class.full_signature: public void setTypeMap(Map<String, Class<?>> map)
focal_class.identifier: setTypeMap
focal_class.modifiers: public
focal_class.parameters: (Map<String, Class<?>> map)
focal_class.return: void
focal_class.signature: void setTypeMap(Map<String, Class<?>> map)
focal_class.class_method_signature: ConnectionHandle.getConnectionLastUsedInMs()
focal_class.full_signature: public long getConnectionLastUsedInMs()
focal_class.identifier: getConnectionLastUsedInMs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getConnectionLastUsedInMs()
focal_class.class_method_signature: ConnectionHandle.getConnectionLastUsed()
focal_class.full_signature: @Deprecated public long getConnectionLastUsed()
focal_class.identifier: getConnectionLastUsed
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getConnectionLastUsed()
focal_class.class_method_signature: ConnectionHandle.setConnectionLastUsedInMs(long connectionLastUsed)
focal_class.full_signature: protected void setConnectionLastUsedInMs(long connectionLastUsed)
focal_class.identifier: setConnectionLastUsedInMs
focal_class.modifiers: protected
focal_class.parameters: (long connectionLastUsed)
focal_class.return: void
focal_class.signature: void setConnectionLastUsedInMs(long connectionLastUsed)
focal_class.class_method_signature: ConnectionHandle.getConnectionLastResetInMs()
focal_class.full_signature: public long getConnectionLastResetInMs()
focal_class.identifier: getConnectionLastResetInMs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getConnectionLastResetInMs()
focal_class.class_method_signature: ConnectionHandle.getConnectionLastReset()
focal_class.full_signature: @Deprecated public long getConnectionLastReset()
focal_class.identifier: getConnectionLastReset
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getConnectionLastReset()
focal_class.class_method_signature: ConnectionHandle.setConnectionLastResetInMs(long connectionLastReset)
focal_class.full_signature: protected void setConnectionLastResetInMs(long connectionLastReset)
focal_class.identifier: setConnectionLastResetInMs
focal_class.modifiers: protected
focal_class.parameters: (long connectionLastReset)
focal_class.return: void
focal_class.signature: void setConnectionLastResetInMs(long connectionLastReset)
focal_class.class_method_signature: ConnectionHandle.isPossiblyBroken()
focal_class.full_signature: public boolean isPossiblyBroken()
focal_class.identifier: isPossiblyBroken
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPossiblyBroken()
focal_class.class_method_signature: ConnectionHandle.getOriginatingPartition()
focal_class.full_signature: public ConnectionPartition getOriginatingPartition()
focal_class.identifier: getOriginatingPartition
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ConnectionPartition
focal_class.signature: ConnectionPartition getOriginatingPartition()
focal_class.class_method_signature: ConnectionHandle.setOriginatingPartition(ConnectionPartition originatingPartition)
focal_class.full_signature: protected void setOriginatingPartition(ConnectionPartition originatingPartition)
focal_class.identifier: setOriginatingPartition
focal_class.modifiers: protected
focal_class.parameters: (ConnectionPartition originatingPartition)
focal_class.return: void
focal_class.signature: void setOriginatingPartition(ConnectionPartition originatingPartition)
focal_class.class_method_signature: ConnectionHandle.renewConnection()
focal_class.full_signature: protected void renewConnection()
focal_class.identifier: renewConnection
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void renewConnection()
focal_class.class_method_signature: ConnectionHandle.clearStatementCaches(boolean internalClose)
focal_class.full_signature: protected void clearStatementCaches(boolean internalClose)
focal_class.identifier: clearStatementCaches
focal_class.modifiers: protected
focal_class.parameters: (boolean internalClose)
focal_class.return: void
focal_class.signature: void clearStatementCaches(boolean internalClose)
focal_class.class_method_signature: ConnectionHandle.getDebugHandle()
focal_class.full_signature: public Object getDebugHandle()
focal_class.identifier: getDebugHandle
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object getDebugHandle()
focal_class.class_method_signature: ConnectionHandle.setDebugHandle(Object debugHandle)
focal_class.full_signature: public void setDebugHandle(Object debugHandle)
focal_class.identifier: setDebugHandle
focal_class.modifiers: public
focal_class.parameters: (Object debugHandle)
focal_class.return: void
focal_class.signature: void setDebugHandle(Object debugHandle)
focal_class.class_method_signature: ConnectionHandle.getRawConnection()
focal_class.full_signature: @Deprecated public Connection getRawConnection()
focal_class.identifier: getRawConnection
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: Connection
focal_class.signature: Connection getRawConnection()
focal_class.class_method_signature: ConnectionHandle.getInternalConnection()
focal_class.full_signature: public Connection getInternalConnection()
focal_class.identifier: getInternalConnection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Connection
focal_class.signature: Connection getInternalConnection()
focal_class.class_method_signature: ConnectionHandle.getConnectionHook()
focal_class.full_signature: public ConnectionHook getConnectionHook()
focal_class.identifier: getConnectionHook
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ConnectionHook
focal_class.signature: ConnectionHook getConnectionHook()
focal_class.class_method_signature: ConnectionHandle.isLogStatementsEnabled()
focal_class.full_signature: public boolean isLogStatementsEnabled()
focal_class.identifier: isLogStatementsEnabled
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isLogStatementsEnabled()
focal_class.class_method_signature: ConnectionHandle.setLogStatementsEnabled(boolean logStatementsEnabled)
focal_class.full_signature: public void setLogStatementsEnabled(boolean logStatementsEnabled)
focal_class.identifier: setLogStatementsEnabled
focal_class.modifiers: public
focal_class.parameters: (boolean logStatementsEnabled)
focal_class.return: void
focal_class.signature: void setLogStatementsEnabled(boolean logStatementsEnabled)
focal_class.class_method_signature: ConnectionHandle.isInReplayMode()
focal_class.full_signature: protected boolean isInReplayMode()
focal_class.identifier: isInReplayMode
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isInReplayMode()
focal_class.class_method_signature: ConnectionHandle.setInReplayMode(boolean inReplayMode)
focal_class.full_signature: protected void setInReplayMode(boolean inReplayMode)
focal_class.identifier: setInReplayMode
focal_class.modifiers: protected
focal_class.parameters: (boolean inReplayMode)
focal_class.return: void
focal_class.signature: void setInReplayMode(boolean inReplayMode)
focal_class.class_method_signature: ConnectionHandle.isConnectionAlive()
focal_class.full_signature: public boolean isConnectionAlive()
focal_class.identifier: isConnectionAlive
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isConnectionAlive()
focal_class.class_method_signature: ConnectionHandle.setInternalConnection(Connection rawConnection)
focal_class.full_signature: public void setInternalConnection(Connection rawConnection)
focal_class.identifier: setInternalConnection
focal_class.modifiers: public
focal_class.parameters: (Connection rawConnection)
focal_class.return: void
focal_class.signature: void setInternalConnection(Connection rawConnection)
focal_class.class_method_signature: ConnectionHandle.getPool()
focal_class.full_signature: public BoneCP getPool()
focal_class.identifier: getPool
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: BoneCP
focal_class.signature: BoneCP getPool()
focal_class.class_method_signature: ConnectionHandle.getReplayLog()
focal_class.full_signature: public List<ReplayLog> getReplayLog()
focal_class.identifier: getReplayLog
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<ReplayLog>
focal_class.signature: List<ReplayLog> getReplayLog()
focal_class.class_method_signature: ConnectionHandle.setReplayLog(List<ReplayLog> replayLog)
focal_class.full_signature: protected void setReplayLog(List<ReplayLog> replayLog)
focal_class.identifier: setReplayLog
focal_class.modifiers: protected
focal_class.parameters: (List<ReplayLog> replayLog)
focal_class.return: void
focal_class.signature: void setReplayLog(List<ReplayLog> replayLog)
focal_class.class_method_signature: ConnectionHandle.getProxyTarget()
focal_class.full_signature: public Object getProxyTarget()
focal_class.identifier: getProxyTarget
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object getProxyTarget()
focal_class.class_method_signature: ConnectionHandle.getThreadUsingConnection()
focal_class.full_signature: public Thread getThreadUsingConnection()
focal_class.identifier: getThreadUsingConnection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Thread
focal_class.signature: Thread getThreadUsingConnection()
focal_class.class_method_signature: ConnectionHandle.getConnectionCreationTime()
focal_class.full_signature: @Deprecated public long getConnectionCreationTime()
focal_class.identifier: getConnectionCreationTime
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getConnectionCreationTime()
focal_class.class_method_signature: ConnectionHandle.getConnectionCreationTimeInMs()
focal_class.full_signature: public long getConnectionCreationTimeInMs()
focal_class.identifier: getConnectionCreationTimeInMs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getConnectionCreationTimeInMs()
focal_class.class_method_signature: ConnectionHandle.isExpired()
focal_class.full_signature: public boolean isExpired()
focal_class.identifier: isExpired
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isExpired()
focal_class.class_method_signature: ConnectionHandle.isExpired(long currentTime)
focal_class.full_signature: protected boolean isExpired(long currentTime)
focal_class.identifier: isExpired
focal_class.modifiers: protected
focal_class.parameters: (long currentTime)
focal_class.return: boolean
focal_class.signature: boolean isExpired(long currentTime)
focal_class.class_method_signature: ConnectionHandle.setThreadWatch(Thread threadWatch)
focal_class.full_signature: protected void setThreadWatch(Thread threadWatch)
focal_class.identifier: setThreadWatch
focal_class.modifiers: protected
focal_class.parameters: (Thread threadWatch)
focal_class.return: void
focal_class.signature: void setThreadWatch(Thread threadWatch)
focal_class.class_method_signature: ConnectionHandle.getThreadWatch()
focal_class.full_signature: public Thread getThreadWatch()
focal_class.identifier: getThreadWatch
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Thread
focal_class.signature: Thread getThreadWatch()
focal_class.class_method_signature: ConnectionHandle.isTxResolved()
focal_class.full_signature: protected boolean isTxResolved()
focal_class.identifier: isTxResolved
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isTxResolved()
focal_class.class_method_signature: ConnectionHandle.getAutoCommitStackTrace()
focal_class.full_signature: protected String getAutoCommitStackTrace()
focal_class.identifier: getAutoCommitStackTrace
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getAutoCommitStackTrace()
focal_class.class_method_signature: ConnectionHandle.setAutoCommitStackTrace(String autoCommitStackTrace)
focal_class.full_signature: protected void setAutoCommitStackTrace(String autoCommitStackTrace)
focal_class.identifier: setAutoCommitStackTrace
focal_class.modifiers: protected
focal_class.parameters: (String autoCommitStackTrace)
focal_class.return: void
focal_class.signature: void setAutoCommitStackTrace(String autoCommitStackTrace)
focal_class.class_method_signature: ConnectionHandle.refreshConnection()
focal_class.full_signature: public void refreshConnection()
focal_class.identifier: refreshConnection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void refreshConnection()
focal_class.class_method_signature: ConnectionHandle.untrackStatement(StatementHandle statement)
focal_class.full_signature: protected void untrackStatement(StatementHandle statement)
focal_class.identifier: untrackStatement
focal_class.modifiers: protected
focal_class.parameters: (StatementHandle statement)
focal_class.return: void
focal_class.signature: void untrackStatement(StatementHandle statement)
focal_class.class_method_signature: ConnectionHandle.getUrl()
focal_class.full_signature: public String getUrl()
focal_class.identifier: getUrl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUrl()
focal_class.class_method_signature: ConnectionHandle.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public void close() throws SQLException {
  		try {
  
  			if (this.resetConnectionOnClose /*FIXME: && !getAutoCommit() && !isTxResolved() */){
  				/*if (this.autoCommitStackTrace != null){
  						logger.debug(this.autoCommitStackTrace);
  						this.autoCommitStackTrace = null; 
  					} else {
  						logger.debug(DISABLED_AUTO_COMMIT_WARNING);
  					}*/
  				rollback();
  				if (!getAutoCommit()){
  					setAutoCommit(true);
  				}
  			}
  
  			if (this.logicallyClosed.compareAndSet(false, true)) {
  
  
  				if (this.threadWatch != null){
  					this.threadWatch.interrupt(); // if we returned the connection to the pool, terminate thread watch thread if it's
  					// running even if thread is still alive (eg thread has been recycled for use in some
  					// container).
  					this.threadWatch = null;
  				}
  
  				if (this.closeOpenStatements){
  					for (Entry<Statement, String> statementEntry: this.trackedStatement.entrySet()){
  						statementEntry.getKey().close();
  						if (this.detectUnclosedStatements){
  							logger.warn(String.format(UNCLOSED_LOG_ERROR_MESSAGE, statementEntry.getValue()));		
  						}
  					}
  					this.trackedStatement.clear();
  				} 
  
  				if (!this.connectionTrackingDisabled){
  					pool.getFinalizableRefs().remove(this.connection);
  				}
  
  				ConnectionHandle handle = null;
  
  				//recreate can throw a SQLException in constructor on recreation
  				try {
  				    handle = this.recreateConnectionHandle();
  				    this.pool.connectionStrategy.cleanupConnection(this, handle);
  				    this.pool.releaseConnection(handle);				    
  				} catch(SQLException e) {
  				    //check if the connection was already closed by the recreation
  				    if (!isClosed()) {
  				    	this.pool.connectionStrategy.cleanupConnection(this, handle);
  				    	this.pool.releaseConnection(this);
  				    }
  				    throw e;
  				}
  				
  				
  				if (this.doubleCloseCheck){
  					this.doubleCloseException = this.pool.captureStackTrace(CLOSED_TWICE_EXCEPTION_MESSAGE);
  				}
  			} else {
  				if (this.doubleCloseCheck && this.doubleCloseException != null){
  					String currentLocation = this.pool.captureStackTrace("Last closed trace from thread ["+Thread.currentThread().getName()+"]:\n");
  					logger.error(String.format(LOG_ERROR_MESSAGE, this.doubleCloseException, currentLocation));
  				}
  			}
  		} catch (SQLException e) {
  			throw markPossiblyBroken(e);
  		}
  	}
focal_method.class_method_signature: ConnectionHandle.close()
focal_method.full_signature: public void close()
focal_method.identifier: close
focal_method.invocations: rollback getAutoCommit setAutoCommit compareAndSet interrupt entrySet close getKey warn format getValue clear remove getFinalizableRefs recreateConnectionHandle cleanupConnection releaseConnection isClosed cleanupConnection releaseConnection captureStackTrace captureStackTrace getName currentThread error format markPossiblyBroken
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void close()