Package bitronix.tm.resource.jdbc.lrc
Class LrcConnectionHandle
java.lang.Object
bitronix.tm.resource.jdbc.BaseProxyHandlerClass
bitronix.tm.resource.jdbc.lrc.LrcConnectionHandle
- All Implemented Interfaces:
InvocationHandler
Connection handle implementation for a non-XA JDBC resource emulating XA with Last Resource Commit.
- Author:
- lorban, brettw
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class bitronix.tm.resource.jdbc.BaseProxyHandlerClass
invoke
-
Constructor Details
-
LrcConnectionHandle
-
-
Method Details
-
getConnection
-
close
- Throws:
SQLException
-
isClosed
- Throws:
SQLException
-
setAutoCommit
- Throws:
SQLException
-
commit
- Throws:
SQLException
-
rollback
- Throws:
SQLException
-
rollback
- Throws:
SQLException
-
toString
-
getProxiedDelegate
Description copied from class:BaseProxyHandlerClassMust be implemented by the sub-class of this class. This method should return the "true" object to be delegated to in the case that the method is not overridden by the sub-class.- Specified by:
getProxiedDelegatein classBaseProxyHandlerClass- Returns:
- the true delegate object
- Throws:
Exception- can throw any exception if desired
-