Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Mapping case type classes to a database table

Updated on September 18, 2020

When you run the New Application wizard to create your initial case types, a default class group mapping is created for each case type. You can change the class group setting for each case type to ensure that each case is mapped to a table name that conforms to your site's naming conventions.

Mapping a class to a physical database table impacts data storage and security decisions. If you expect the volume of the case types to be low, consider sharing the table with other case types. If access to instances of this case type needs to be restricted, create a separate class group for each case type.

For each class corresponding to the case type:

  1. In the explorer panel, click App.
  2. Right-click the class name and select Definition.
  3. In the Settings section, review the This Class setting.
  4. Determine whether the class is a class group or belongs to a class group. If the class belongs to a class group, determine to which class group it belongs.
  5. In the Test Connection section, click Test Connection to determine the name of the table currently mapped to this class.
  6. Determine the name of your database table.
  7. Repeat these steps for each class in your application.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us