net.sf.extjwnl.dictionary.database
Class ConnectionManager
java.lang.Object
net.sf.extjwnl.dictionary.database.ConnectionManager
public class ConnectionManager
- extends Object
Connection manager for database-backed dictionaries.
- Author:
- John Didion
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionManager
public ConnectionManager(String driverClass,
String url,
String userName,
String password)
ConnectionManager
public ConnectionManager(String jndi)
getQuery
public Query getQuery(String sql)
throws SQLException,
JWNLException
- Throws:
SQLException
JWNLException
getConnection
public Connection getConnection()
throws SQLException,
JWNLException
- Throws:
SQLException
JWNLException
Copyright © 2011. All Rights Reserved.