Specify the URL
[Geek Home] [PC Hints & Tips] [Internet] [Programming] [Nanet Sites]

As indicated in the readme file that comes with the EAB, within the IDE, only the DB2 JDBC net driver works. To use this driver, you can do one of two things. I will show you this one.

In the EAB Data Access Builder, right click on each classes’ “Properties” tab.

Picture
Picture

This will open the “Properties” for the Bean you have selected. Select the “Access” tab and in the “URL:” field, type in the URL to your database. An example is:

jdbc:db2://server:1234/sample

“server:1234” is the path to the server and the port address.

Do this for each bean’s properties.

The other method is to specify the URL of the database during development in the Visual Composition Editor in the property sheet of the datastore bean.

Next, we’ll talk about Exporting your beans to be used in the IDE.

Picture
 Create a Package  Methods  Specify the URL  Export
[Geek Home] [PC Hints & Tips] [Internet] [Programming] [Nanet Sites]

Modified: 02/11/99

Picture