TableLinkConnection

A connection for a linked table. The same connection may be used for multiple tables, that means a connection may be shared.

Methods
static TableLinkConnection open(HashMap map, String driver, String url, String user, String password, boolean shareLinkedConnections)
Open a new connection.
static TableLinkConnection open(HashMap map, String driver, String url, String user, String password, boolean shareLinkedConnections)
Open a new connection.
Parameters:
map - the map where the connection should be stored (if shared connections are enabled).
driver - the JDBC driver class name
url - the database URL
user - the user name
password - the password
shareLinkedConnections - if connections should be shared
Returns:
a connection
void close(boolean force)
Closes the connection if this is the last link to it.
void close(boolean force)
Closes the connection if this is the last link to it.
Parameters:
force - if the connection needs to be closed even if it is still used elsewhere (for example, because the connection is broken)
boolean equals(Object o)
boolean equals(Object o)
Connection getConnection()
Get the connection.
Connection getConnection()
Get the connection. This method and methods on the statement must be synchronized on this object.
Returns:
the connection
int hashCode()
int hashCode()