Show TOC Start of Content Area

Procedure documentation Creating Connections to the Java Dictionary  Locate the document in its SAP Library structure

Use

You use this procedure to create a connection profile and establish a connection to the Java Dictionary.

The Java Dictionary allows you to define database tables in a database-independent way. The table definitions are organized in Dictionary Development Components (DCs). The SAP NetWeaver Developer Studio allows the Java Dictionary to be accessed through the Data Source Explorer.

Caution

When you are using the Java Dictionary, you are accessing a metadata representation of a physical database only.

More information about Java Dictionary: Providing Java Dictionary Tables and Data Types

Note

If you plan to use a native database to define your tables, you have to create a connection to that database.

More information: Creating Database Connections

Prerequisites

You have:

      Created a Development Component of type Dictionary

More information: Creating Dictionary Development Components

      Opened the Java EE perspective

Procedure

...

       1.      In the Data Source Explorer, select Databases.

       2.      In the context menu, choose New.

       3.      Select Java Dictionary, then choose Next.

       4.      Enter a name for your connection profile, then choose Next.

       5.      Choose Browse and select the Dictionary DC that you want to associate with your new connection profile.

To create a new Dictionary DC, choose Create new Dictionary development component.

       6.      Choose Finish.

The new Java Dictionary connection profile appears in the Databases tree of the Data Source Explorer.

       7.      Connect to the Java Dictionary.

                            a.      In the Data Source Explorer, select the Java Dictionary connection profile.

                            b.      In the context menu, choose Connect.

End of Content Area