edu.stanford.smi.protege.storage.database.pool
Class ConnectionPool
java.lang.Object
edu.stanford.smi.protege.storage.database.pool.ConnectionPool
public class ConnectionPool
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_REFRESH_CONNECTIONS_TIME
public static final String PROPERTY_REFRESH_CONNECTIONS_TIME
- See Also:
- Constant Field Values
PROPERTY_MAX_DB_CONNECTIONS
public static final String PROPERTY_MAX_DB_CONNECTIONS
- See Also:
- Constant Field Values
getConnectionPool
public static ConnectionPool getConnectionPool(String driver,
String url,
String username,
String password)
getConnection
public Connection getConnection()
throws SQLException
- Throws:
SQLException
ungetConnection
public void ungetConnection(Connection connection)
getStatement
public Statement getStatement(Connection connection)
throws SQLException
- Throws:
SQLException
getPreparedStatement
public PreparedStatement getPreparedStatement(Connection connection,
String text)
throws SQLException
- Throws:
SQLException
reference
public void reference()
dereference
public void dereference()
throws SQLException
- Throws:
SQLException
closeStatements
public void closeStatements(Connection connection)
throws SQLException
- Throws:
SQLException
reportProblem
public void reportProblem(Connection connection)
throws SQLException
- Throws:
SQLException
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.