|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.spd.flora.dbconnection.ConnectionPool
public class ConnectionPool
| Method Summary | |
|---|---|
Connection |
getConnection()
get a free connection or create a new one |
static ConnectionPool |
getConnectionPool()
get connection pool |
boolean |
insertPreStatement(String query)
|
boolean |
preStatement(String query,
ArrayList<String> terms)
Update |
void |
releaseConnection(Connection con)
Release the connection and put it in the queue |
ResultSet |
selectPrestatement(String query,
String term)
Select using preStatement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConnectionPool getConnectionPool()
throws ConnectionPoolException
ConnectionPoolException
public Connection getConnection()
throws ConnectionPoolException
ConnectionPoolExceptionpublic void releaseConnection(Connection con)
public boolean preStatement(String query,
ArrayList<String> terms)
public ResultSet selectPrestatement(String query,
String term)
public boolean insertPreStatement(String query)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||