public class MySQLConnectionPool extends JDBCConnectionPool
connectionPool, connectionSession, jdbcString, numberOfConnection
Constructor and Description |
---|
MySQLConnectionPool(java.lang.String jdbcString,
int numberOfConnection,
java.lang.String login,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
JDBCConnector |
getJDBCConnector(java.sql.Connection connection)
Get JDBC Connector
|
createSession, endSession, getConnection, getConnection, shutdownConnectionPool, toString
public MySQLConnectionPool(java.lang.String jdbcString, int numberOfConnection, java.lang.String login, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
public JDBCConnector getJDBCConnector(java.sql.Connection connection) throws java.sql.SQLException
JDBCConnectionPool
getJDBCConnector
in class JDBCConnectionPool
connection
- JDBC connectionjava.sql.SQLException
- SQL Exception