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
SQLException
JWNLException
public Connection getConnection() throws SQLException, JWNLException
SQLException
JWNLException
Copyright © 2015. All rights reserved.