public class ConnectionManager extends Object
| Constructor and Description |
|---|
ConnectionManager(String jndi) |
ConnectionManager(String driverClass,
String url,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
Query |
getQuery(String sql) |
public ConnectionManager(String driverClass, String url, String userName, String password)
public ConnectionManager(String jndi)
public Query getQuery(String sql) throws SQLException, JWNLException
SQLExceptionJWNLExceptionpublic Connection getConnection() throws SQLException, JWNLException
SQLExceptionJWNLExceptionCopyright © 2023. All rights reserved.