Skip Headers
Oracle® Application Server TopLink Mapping Workbench User's Guide
10g Release 2 (10.1.2)
Part No. B15900-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Logging Into the Database

You can enter database table information directly from OracleAS TopLink Mapping Workbench or import the tables from the database. You must log into the database to obtain the table information and to generate table files.


Note:

You must include your database driver on the system classpath – not the OracleAS TopLink Mapping Workbench project classpath.

  1. Select the INTRO_TUTORIAL_DB database object in the Navigator pane. The Database Editor property sheet appears in the Editor pane of the OracleAS TopLink Mapping Workbench window.

    Figure B-13 Database Properties

    Description of dblogin.gif follows
    Description of the illustration dblogin.gif

  2. Click Add to create a new database login.

  3. In the Defined Login area, select the newly added login. Contact your database administrator for the necessary database login information (driver, URL, username, and password).

  4. Log In to Database button.
    Description of the illustration loginbtn.gif

    Logged into database icon.
    Description of the illustration dblogbtn.gif

    Click the Log In to Database button or choose Selected > Log In to Database from the menu. The database icon changes.


    Note:

    OracleAS TopLink Mapping Workbench supports connecting to the database through JDBC. Make sure you have installed, configured, and tested your JDBC driver before attempting to connect.

If OracleAS TopLink Mapping Workbench is unable to connect to the database, contact your database administrator to ensure that the database login parameters have been entered correctly and your JDBC driver has been installed correctly. If problems persist, test your driver connectivity. See the Appendix C, "Troubleshooting" for details.