Adding the Orders Data Source
In this section you add the orders data source.
To add the orders data source
|
1.
|
Right-click the sources folder and select New Data Source. |
|
2.
|
Scroll down and select PostgreSQL 9.1 as the data source adapter. |
The window for specifying the data source information appears.
|
4.
|
Select the Basic tab if it is not already selected. |
|
5.
|
Specify values for the fields shown in the table. |
|
Name
|
ds_orders
|
Type a unique name for the data source.
When the process of adding this data source is complete, the name ds_orders will be displayed in the resource tree. ds_orders is the TDV representation of the orders database.
|
|
Host
|
localhost
|
Type the name or IP address of the machine where TDV Server is installed.
If the server is installed on your local machine, you can type the machine name or the term localhost.
|
|
Port
|
9408
|
Type the port number.
Use 9408 for the tutorial to access the server that is shipped with the TDV software. If you use an external server, the default port might be different.
|
|
Database Name
|
orders
|
TDV Server uses this entry to locate the orders database instance.
|
|
Login
|
tutorial
|
These entries are the username and password to access the underlying data source.
|
|
Password
|
tutorial
|
For details on the fields and the Advanced tab, see the TDV User Guide.
|
6.
|
Click Create & Introspect. |
|
8.
|
Select customers, orderdetails, orders, and shippingmethods. |
These tables contain the information you need for customer contact and order details.
A folder named ds_orders now appears under sources in the resource tree.