public static class ConnectionWrapperFactory.NoOpCloseHandler extends Object implements ConnectionWrapperFactory.ConnectionCloseHandler
| Constructor and Description | 
|---|
NoOpCloseHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close(Connection connection)
Close the given  
connection, which was wrapped by the ConnectionWrapperFactory. | 
void | 
commit(Connection connection)
Commits the underlying transaction 
 | 
public void close(Connection connection)
ConnectionWrapperFactory.ConnectionCloseHandlerconnection, which was wrapped by the ConnectionWrapperFactory.close in interface ConnectionWrapperFactory.ConnectionCloseHandlerconnection - the wrapped connection to closepublic void commit(Connection connection) throws SQLException
ConnectionWrapperFactory.ConnectionCloseHandlercommit in interface ConnectionWrapperFactory.ConnectionCloseHandlerconnection - the wrapped connection to commitSQLException - when an error occurs while committing the connectionCopyright © 2010–2018. All rights reserved.