Skip to main content


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

Mapping case type or data type classes to a database table

Updated on June 1, 2021

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, and then maps the new implementation class to the appropriate database table.

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.

  1. Expand the SysAdmin category, and then click Database Table.

  2. Open the class that you want to modify, and then map your database table to a class:

    1. Review the default database name and the table name to which the class points.

    2. Point the chosen database table to your specific class by editing the database name and table name.

    3. Confirm your changes by clicking Save.

    4. Check if your configuration is correct by clicking Test connection.

    5. If the test results display errors, for example missing properties, review and correct the data.

  3. Update the class to point to your database table:

    1. In the navigation pane of Dev Studio, click App.

    2. Right-click the class name that you referred to in the steps above, and then select Definition.

    3. On the General tab, check if the configuration is correct by clicking Test connection.

  4. Optional:

    To configure other case type or data type classes, repeat steps 2 through 3.

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