Oracle TopLink Developer's Guide
10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
This section describes how to define a login to a relational database. After you define a login, you must designate its role (see "Configuring Development and Deployment Logins").
After you create a login (see "Configuring Login Information") and specify it as a development login (see "Configuring Development and Deployment Logins"), you can log in to a database instance (see "Logging in to the Database").
To create or edit a database login, use this procedure:
Select the database object in the Navigator. The Database property sheet appears.
Figure 23-3 Database Property Sheet, Database Login Fields
Click Add to create a new Defined Login.
Use this table to enter data in the following fields on the Database property sheet to configure the database login:
Field | Description |
---|---|
Defined Logins | Login used to access the database. Click Add to add a new login, or Remove to delete an existing login. |
Driver Class | The JDBC driver to use to connect to the database. |
URL | The URL used to connect to the appropriate database. |
User Name | The name required to log in to the database. |
Password | The password required to log in to the database.
Note: When exporting Java source and deployment XML (see "Exporting Project Information"), TopLink Workbench writes the database password (if applicable) using JCE encryption (when using JDK 1.4). Refer to Oracle TopLink Getting Started Guide for information on using password encryption with JDK 1.3 and earlier. For information on how to specify password encryption options, see "Configuring Password Encryption". |
Save Password | Whether or not to save the Password for this Defined Login. |