org.h2.table
Class TableLinkConnection
java.lang.Object
org.h2.table.TableLinkConnection
public class TableLinkConnection
- extends java.lang.Object
A connection for a linked table. The same connection may be used for multiple
tables, that means a connection may be shared.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
open
public static TableLinkConnection open(java.util.HashMap<TableLinkConnection,TableLinkConnection> map,
java.lang.String driver,
java.lang.String url,
java.lang.String user,
java.lang.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 nameurl
- the database URLuser
- the user namepassword
- the passwordshareLinkedConnections
- if connections should be shared
- Returns:
- a connection
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object