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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.mariadb.jdbc.MariaDbPoolConnection
addConnectionEventListener, addStatementEventListener, fireConnectionClosed, fireConnectionErrorOccurred, fireStatementClosed, fireStatementErrorOccurred, flagsToString, getConnection, mapXaException, realClose, removeConnectionEventListener, removeStatementEventListener, xidToString
-
Constructor Details
-
MariaDbPoolPinnedConnection
Constructor.- Parameters:
connection- connection to retrieve connection options
-
-
Method Details
-
close
Close underlying connection- Specified by:
closein interfacePooledConnection- Overrides:
closein classMariaDbPoolConnection- Throws:
SQLException- if close fails
-
getXAResource
- Specified by:
getXAResourcein interfaceXAConnection- Overrides:
getXAResourcein classMariaDbPoolConnection
-