Package org.mariadb.jdbc
Class MariaDbPoolPinnedConnection
java.lang.Object
org.mariadb.jdbc.MariaDbPoolConnection
org.mariadb.jdbc.MariaDbPoolPinnedConnection
- All Implemented Interfaces:
PooledConnection
,XAConnection
MariaDB pool connection implementation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.mariadb.jdbc.MariaDbPoolConnection
addConnectionEventListener, addStatementEventListener, fireConnectionClosed, fireConnectionErrorOccurred, fireStatementClosed, fireStatementErrorOccurred, flagsToString, getConnection, mapXaException, removeConnectionEventListener, removeStatementEventListener, xidToString
-
Field Details
-
xidToConnection
-
currentXid
-
-
Constructor Details
-
MariaDbPoolPinnedConnection
Constructor.- Parameters:
connection
- connection to retrieve connection options
-
-
Method Details
-
close
Close underlying connection- Specified by:
close
in interfacePooledConnection
- Overrides:
close
in classMariaDbPoolConnection
- Throws:
SQLException
- if close fails
-
getXAResource
- Specified by:
getXAResource
in interfaceXAConnection
- Overrides:
getXAResource
in classMariaDbPoolConnection
-