Class ConnectionManager
- java.lang.Object
-
- net.didion.jwnl.dictionary.database.ConnectionManager
-
public class ConnectionManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionManager(String jndi)
ConnectionManager(String driverClass, String url, String userName, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
getConnection()
Query
getQuery(String sql)
-
-
-
Method Detail
-
getQuery
public Query getQuery(String sql) throws SQLException, JWNLException
- Throws:
SQLException
JWNLException
-
getConnection
public Connection getConnection() throws SQLException, JWNLException
- Throws:
SQLException
JWNLException
-
-