Try OpenEdge Now
skip to main content
Managed Adapters Guide
Database Managed Adapter : Database Adapter components
 

Database Adapter components

The following are the major components of the Database Adapter:
*Database Adapter Configurator: Swing-based GUI to configure database connection parameters, SQL statements, and variables that would be mapped to input values and query results.
*Adapter Configuration File: AdapterConfigurator saves relevant information into this XML file.
*MappingConfigurator: MappingConfigurator defines the mapping between dataslots and adapter variables.
*Adapter Mapping Files: MappingConfigurator saves mapping information into an input mapping XML file and an output mapping XML file.
*Run-timeMapper: A pre-built class which reads Adapter Mapping Files and maps the values at run time.
*Database Adapter class: A pre-built class which handles query execution. The Database Adapter worksteps use it as the performer.
Figure 3 shows how the Database Adapter queries the database and maps values.
Figure 3. Database adapter