public class ConnectionManager
extends java.lang.Object
Constructor and Description |
---|
ConnectionManager(Dictionary dictionary,
java.lang.String driverClass,
java.lang.String url,
java.lang.String userName,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.sql.Connection |
getConnection() |
Query |
getQuery(java.lang.String sql) |
public ConnectionManager(Dictionary dictionary, java.lang.String driverClass, java.lang.String url, java.lang.String userName, java.lang.String password)
public Query getQuery(java.lang.String sql) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Connection getConnection() throws java.sql.SQLException
java.sql.SQLException
public void close()