Using the Data Tools Platform (DTP), you can establish a connection to the RDMS database with the help of the RDMS-JDBC driver. Once the connection is established, you can perform database operations.
To create a profile, perform the following steps:
Go
to Windows > Open Perspective
> Other
The Open Perspective window opens.
Delect
Database Development and click
OK.
The Database Development perspective is loaded.
In
the Data Source Explorer, click
(New Connection Profile).
The New Connection Profile window opens.
Select Generic JDBC from the Connection Profile Types list, and click Next.
Click
and the New Driver Definition
window opens.
Under
Name/Type tab, select Generic JDBC Driver.
You can change to the driver name of your choice.
Under
the JAR List tab, click Add JAR/Zip…
The File Browse dialog box
opens. Browse to the location of RDMSDriver.jar and click OK.
The JAR file is added.
Perform the following under the Properties tab:
Enter the JDBC URL against Connection URL. For example, jdbc:rdms:user=myuserid;password=mypassword;host=myhost;port=myport (by default the port number is 1544).
Enter a database name against Database Name.
Click
in
the value field of Driver Class. The available classes from the
JAR List window opens.
Select Browse for Class. The available Driver Class from the JAR List is displayed.
Select the appropriate RDMS driver and click OK. The selected Driver appears against the Driver Class property.
Click OK.
Enter the username and password and click Test Connection.
On successful completion, a Success dialog box appears.
Click Finish.
Eclipse establishes a connection with RDMS database and fetches the list of all the schemas. The expanded schemas list the following:
Dependencies
Stored Procedures
Tables
User-Defined Functions
User-Defined Types
Views.