|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.sessions.DefaultConnector
public class DefaultConnector
Purpose:Use this Connector to build a java.sql.Connection in the "standard" fashion, via the DriverManager.
Constructor Summary | |
---|---|
DefaultConnector()
Construct a Connector with default settings (Sun JDBC-ODBC bridge). |
|
DefaultConnector(java.lang.String driverClassName,
java.lang.String driverURLHeader,
java.lang.String databaseURL)
Construct a Connector with the specified settings. |
Method Summary | |
---|---|
java.lang.String |
getConnectionDetails()
Provide the details of my connection information. |
java.lang.String |
getConnectionString()
Return the JDBC connection string. |
java.lang.String |
getDatabaseURL()
The database URL is the JDBC URL for the database server. |
java.lang.String |
getDriverClassName()
The driver class is the name of the Java class for the JDBC driver being used (e.g. |
java.lang.String |
getDriverURLHeader()
The driver URL header is the string predetermined by the JDBC driver to be part of the URL connection string, (e.g. |
void |
setDatabaseURL(java.lang.String databaseURL)
The database URL is the JDBC URL for the database server. |
void |
setDriverClassName(java.lang.String driverClassName)
The driver class is the name of the Java class for the JDBC driver being used (e.g. |
void |
setDriverURLHeader(java.lang.String driverURLHeader)
The driver URL header is the string predetermined by the JDBC driver to be part of the URL connection string, (e.g. |
java.lang.String |
toString()
Print connection string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultConnector()
public DefaultConnector(java.lang.String driverClassName, java.lang.String driverURLHeader, java.lang.String databaseURL)
Method Detail |
---|
public java.lang.String getConnectionString()
public java.lang.String getConnectionDetails()
getConnectionDetails
in interface Connector
public java.lang.String getDatabaseURL()
public java.lang.String getDriverClassName()
public java.lang.String getDriverURLHeader()
public void setDatabaseURL(java.lang.String databaseURL)
public void setDriverClassName(java.lang.String driverClassName)
public void setDriverURLHeader(java.lang.String driverURLHeader)
public java.lang.String toString()
toString
in class java.lang.Object
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |