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
ClassNotFoundException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public Connection getConnection() throws SQLException
SQLException
Copyright © 2015. All rights reserved.