org.axiondb
Class DatabaseLink
java.lang.Object
org.axiondb.DatabaseLink
public class DatabaseLink
- extends Object
A Database Link that holds connection spec for a external Database
CREATE DATABASE LINK
(DRIVER=' ' URL='
' USERNAME=' '
PASSWORD=' ');
- Version:
- $Revision: 1.4 $ $Date: 2005/06/30 01:07:47 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseLink
public DatabaseLink(String name,
Properties spec)
- Create an External Server
getConnection
public Connection getConnection()
throws AxionException
- Throws:
AxionException
getName
public String getName()
- Get the name of this database link.
getCatalogName
public String getCatalogName()
- Returns:
- Returns the _catalogName.
getSchemaName
public String getSchemaName()
- Returns:
- Returns the _schemaName.
getJdbcUrl
public String getJdbcUrl()
- Returns:
- JDBC URL to use in connecting to the associated server
getUserName
public String getUserName()
- Returns:
- user name to authenticate against in connecting to associated server