|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.util.JDBCConnections
public final class JDBCConnections
Opened JDBC connections.
Constructor Summary | |
---|---|
JDBCConnections()
|
Method Summary | |
---|---|
int |
add(java.lang.Object obj)
Adds a connection or prepared statement to depot. |
void |
close()
Closes all opened connections. |
java.lang.Object |
get(int id)
Returns connection or prepared statement with the given id. |
void |
remove(int id)
Removes either a connection or a prepared statement from the depot. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCConnections()
Method Detail |
---|
public int add(java.lang.Object obj)
obj
- connection or prepared statement
public java.lang.Object get(int id)
id
- id
public void remove(int id)
id
- connection/prepared statement idpublic void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |