Skip to main content
LinkedIn
Copied!

Table of Contents

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, 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.

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us