Skip to main content


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

How database tables are identified at run time

Updated on August 25, 2021

When saving or reading an object as a row in the database, the system uses pattern inheritance based on the class name of the object to find a database table.

Pattern inheritance processing is based on hyphens in the class name. For example, for the Rule-Obj-Property-Qualifier class, the four patterns are:

  • Rule-Obj-Property-Qualifier
  • Rule-Obj-Property-
  • Rule-Obj-
  • Rule-

To fetch an instance of the class Rule-Obj-Property-Qualifier, the system looks for database table instances (Data-Admin-DB-Table class) matching these class names in the above sequence. When a matching database table instance is found, information in that instance identifies the Pega database table that contains the object as a row.

If the system does not find a table by this search, it uses the pr_other table.

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