Oracle® Application Server TopLink Mapping Workbench User's Guide
10g Release 2 (10.1.2) Part No. B15900-01 |
|
Previous |
Next |
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. |
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.
Click Add to create a new database login.
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).
Description of the illustration loginbtn.gif
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.
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.