Mapping case type or data type classes to a database table
When you run the New Application wizard to create your initial case types and data types, the system creates a default class group mapping for each case type and data type. The wizard also creates associated database tables. The wizard maps the new implementation class to the appropriate database table.
Pega Smart Dispute for Acquirers
Implementation Guide
Mapping a class to a physical database table affects data
storage and security decisions. For example, if you expect the volume of the case types
to be low, consider sharing the table with other case types.
To update the default database table to a user-specified database table, perform the following steps:
- In the Dev Studio Explorer panel, click .
- Open the class that you want to modify.
- Review the default database name and the table name that the class points to.
- To point the chosen database table to your specific class, edit the database name and table name.
- To confirm your changes, click Save.
- Click Test connectivity to check if the configuration succeeded. If the test results display errors, for example, missing properties, review the data and correct them.
- Update the class to point to the table specified above:
- In the Designer Studio Explorer panel, click App.
- Right-click the class name that you referred to in the steps above and select Definition.
- On the General tab, click Test connection to check if the configuration succeeded.
- Perform the steps above for the other case type or data type classes, if needed.
Previous topic Adding case types Next topic Application data model