Click New on the Adapter Manager toolbar and select “db.” You see the Adapter Builder.
Complete these options:
Name – the program fills in this field after you save the new adapter and enter the adapter’s name.
ID – the adapter ID is a sequential number maintained by the system.
Description – the system automatically enters “Database Adapter” in this field, which you can change if you want.
Type – displays the adapter type you chose after you clicked New.
Viewer – specifies the format in which to write the content. Currently, only HTML is supported.
Roles – select the assigned roles associated with who can edit the adapter’s parameters and view the adapter log and click Add. Click Add All to assign all available roles.
Parameters – the parameters for a database adapter are the database values that specific to writing the portlet’s content to a database. You can change the display name or accept the default.
Key_column_name – enter the table field into which the portlet ID is written.
Table_name – enter the name of the database table. This table must already exist.
Value_column_name – enter the table field into which the portlet’s content is written.
User – enter the database user for the database connection.
Url – enter the JDBC connection URL used for the database connection.
Password – enter the password for the user connection to the database.
Driver – enter the database driver used for the JDBC connection.
Click Save As.
In the Save As dialog box, enter an adapter name and click OK.
Click Close to exit the Adapter Builder.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |