public class MySQLConnectionPool extends Object implements Closeable
| Constructor and Description |
|---|
MySQLConnectionPool(String url,
String user,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Connection |
getConnection() |
public MySQLConnectionPool(String url, String user, String password) throws ClassNotFoundException
ClassNotFoundExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic Connection getConnection() throws SQLException
SQLExceptionCopyright © 2015. All rights reserved.