Methods Summary |
---|
public oracle.toplink.essentials.internal.databaseaccess.Accessor | buildAccessor()INTERNAL:
Build the correct datasource Accessor for this login instance.
|
public java.lang.Object | clone()INTERNAL:
Clone the login.
|
public java.lang.Object | connectToDatasource(oracle.toplink.essentials.internal.databaseaccess.Accessor accessor)INTERNAL:
Connect to the datasource, and return the driver level connection object.
|
public oracle.toplink.essentials.internal.databaseaccess.Platform | getDatasourcePlatform()PUBLIC:
Return the datasource platform specific information.
This allows TopLink to configure certain advanced features for the datasource desired.
The platform also allows configuration of sequence information.
|
public java.lang.String | getPassword()PUBLIC:
All logins must take a user name and password.
|
public oracle.toplink.essentials.internal.databaseaccess.DatabasePlatform | getPlatform()INTERNAL:
Return the database platform specific information.
This allows TopLink to configure certain advanced features for the database desired.
The platform also allows configuration of sequence information.
NOTE: this must only be used for relational specific usage and will not work for
non-relational datasources.
|
public java.lang.Object | getProperty(java.lang.String name)PUBLIC:
The properties are additional, driver-specific, connection information
to be passed to the driver.
NOTE: Do not set the password directly by getting the properties and
setting the "password" property directly. Use the method DatabaseLogin.setPassword(String).
|
public java.lang.String | getTableQualifier()PUBLIC:
Return the qualifier for the all of the tables.
|
public java.lang.String | getUserName()PUBLIC:
All logins must take a user name and password.
|
public void | setDatasourcePlatform(oracle.toplink.essentials.internal.databaseaccess.Platform platform)PUBLIC:
Set the database platform specific information.
This allows TopLink to configure certain advanced features for the database desired.
The platform also allows configuration of sequence information.
|
public void | setPassword(java.lang.String password)PUBLIC:
All logins must take a user name and password.
|
public void | setPlatform(oracle.toplink.essentials.internal.databaseaccess.Platform platform)INTERNAL:
Set the database platform specific information.
This allows TopLink to configure certain advanced features for the database desired.
The platform also allows configuration of sequence information.
|
public void | setProperties(java.util.Properties properties)PUBLIC:
The properties are additional, driver-specific, connection information
to be passed to the JDBC driver.
|
public void | setProperty(java.lang.String propertyName, java.lang.Object propertyValue)PUBLIC:
Some JDBC drivers require additional, driver-specific, properties.
Add the specified property to those to be passed to the JDBC driver.
|
public void | setUserName(java.lang.String userName)PUBLIC:
All logins must take a user name and password.
|
public boolean | shouldAllowConcurrentReadWrite()INTERNAL:
Used for cache isolation.
|
public boolean | shouldSynchronizeObjectLevelReadWrite()INTERNAL:
Used for Cache Isolation. Causes TopLink to lock at the object level on
cache updates and cache access.
|
public boolean | shouldSynchronizeObjectLevelReadWriteDatabase()INTERNAL:
Used for Cache Isolation. Causes TopLink to lock at the object level on
cache updates and cache access, based on database transaction.
|
public boolean | shouldSynchronizeWrites()INTERNAL:
Used for Cache Isolation. Causes TopLink to lock at the class level on
cache updates.
|
public boolean | shouldSynchronizedReadOnWrite()INTERNAL:
Used for cache isolation.
|
public boolean | shouldUseExternalConnectionPooling()PUBLIC:
Return whether TopLink uses some externally managed connection pooling.
|
public boolean | shouldUseExternalTransactionController()PUBLIC:
Return whether TopLink uses some externally managed transaction service such as JTS.
|