public class TableLinkConnection extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static TableLinkConnection |
open(HashMap<TableLinkConnection,TableLinkConnection> map,
String driver,
String url,
String user,
String password,
boolean shareLinkedConnections)
Open a new connection.
|
public static TableLinkConnection open(HashMap<TableLinkConnection,TableLinkConnection> map, String driver, String url, String user, String password, boolean shareLinkedConnections)
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 sharedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.