You are here: Reference > Data classes > Database Table data instances

  About Database Table data instances
 

SysAdmin category
  1. About 
  2. New 
  3. Database 
  4. History 
  5. More... 

Note: With Pega 7.1.7 local data storage replaces data tables. A feature on the data table landing page lets you convert existing data tables to local data storage.

Create database table data instances to map classes or class groups to database tables or views. You can use the Database Table form to revise existing class-to-table relationships.

A database table instance associates an existing class (and other classes derived by pattern inheritance from that class) with an existing relational database table or view, in the PegaRULES database or an external database.

In a development system that accesses the PegaRULES database with an account that has appropriate capabilities, database tables are created automatically when you (directly, or through a wizard or tool) create a class group or certain class rules. For example, the Application Express creates a class group or groups, and corresponding database table data instances.

Note: if a table definition in the database changes, resave the data-admin-DB-Table to cause PRPC to recognize the change

Access

Use the Records Explorer to list database table data instances on your system.

Category

The Data-Admin-DB-Table class contains database table data instances. They are part of the SysAdmin category.

Database table

Database table instances are always stored as rows of the pr4_base table.

Associated RuleSet

When you save a database table instance, if the Associated RuleSet is [none], the system completes this field with a RuleSet from the current application. This association assists with application packaging. You can update the associated RuleSet using the field in the upper right corner of the form. See Identifying parts of rule and data forms.

If there is no RuleSet associated with the data instance (for example, for existing instances not previously associated with a RuleSet), the Associated RuleSet displays [none].

Topic Working with the PegaRULES database
Working with the PegaRULES database — Schema changes
Initial data instances Atlas — Initial Database Tables

SysAdmin category
Help System home pageHelp Home