|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Login
Purpose: Define the information required to connect to a TopLink session.
Description: This interface represents a generic concept of a login to be used when connecting to a data-store. It is independant of JDBC so that the TopLink session interface can be used for JCA, XML, non-relational or three-tiered frameworks.
DatabaseLogin| Method Summary | |
|---|---|
oracle.toplink.internal.databaseaccess.Platform |
getDatasourcePlatform()Return the datasource platform specific information. |
java.lang.String |
getPassword()All logins must take a user name and password. |
java.lang.Object |
getProperty(java.lang.String name)The properties are additional, driver-specific, connection information to be passed to the driver. |
java.lang.String |
getTableQualifier()Return the qualifier for the all of the tables. |
java.lang.String |
getUserName()All logins must take a user name and password. |
boolean |
isConnectionHealthValidatedOnError()This value defaults to false when not on a DatabaseLogin as the functionality has not been implemented for other datasource type. |
void |
setDatasourcePlatform(oracle.toplink.internal.databaseaccess.Platform platform)Set the database platform specific information. |
void |
setPassword(java.lang.String password)All logins must take a user name and password. |
void |
setProperties(java.util.Properties properties)The properties are additional, driver-specific, connection information to be passed to the JDBC driver. |
void |
setProperty(java.lang.String propertyName, java.lang.Object propertyValue)Some JDBC drivers require additional, driver-specific, properties. |
void |
setUserName(java.lang.String userName)All logins must take a user name and password. |
boolean |
shouldUseExternalConnectionPooling()Return whether TopLink uses some externally managed connection pooling. |
boolean |
shouldUseExternalTransactionController()Return whether TopLink uses some externally managed transaction service such as JTS. |
| Method Detail |
|---|
java.lang.String getPassword()
java.lang.String getUserName()
void setPassword(java.lang.String password)
void setUserName(java.lang.String userName)
boolean shouldUseExternalConnectionPooling()
boolean shouldUseExternalTransactionController()
oracle.toplink.internal.databaseaccess.Platform getDatasourcePlatform()
void setDatasourcePlatform(oracle.toplink.internal.databaseaccess.Platform platform)
java.lang.String getTableQualifier()
java.lang.Object getProperty(java.lang.String name)
NOTE: Do not set the password directly by getting the properties and setting the "password" property directly. Use the method DatabaseLogin.setPassword(String).
void setProperties(java.util.Properties properties)
void setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
boolean isConnectionHealthValidatedOnError()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||