public class ConnectionPoolingIT extends Object
| Constructor and Description |
|---|
ConnectionPoolingIT() |
| Modifier and Type | Method and Description |
|---|---|
GenericObjectPool |
getConnectionPool() |
void |
setUp() |
PoolingDataSource |
setUpPoolingDataSource() |
void |
tearDown() |
void |
testC3P0ConnectionPool() |
void |
testDBCPConnection() |
void |
testHikariConnectionPool() |
void |
testPoolingDataSource() |
public void setUp()
throws SQLException
SQLExceptionpublic void tearDown()
throws SQLException
SQLExceptionpublic void testDBCPConnection()
throws SQLException,
Exception
SQLExceptionExceptionpublic PoolingDataSource setUpPoolingDataSource()
throws Exception
Exceptionpublic GenericObjectPool getConnectionPool()
public void testPoolingDataSource()
throws Exception,
SQLException
ExceptionSQLExceptionCopyright © 2016. All rights reserved.