Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

BadTableMappingException error on saving records



BadTableMappingException error occurs on saving records on the customerdata.data_table_name table. On exposing the RealTimeCustUpdateDate column on the customerdata.data_table_name table, an error occurs while saving records on the table.

Error Messages Database-BadTableMapping-TooManyProperties

Steps to Reproduce

  1. Modify a schema to add a column to a data table (fully exposed - no BLOB) 
  2. Deploy the change through a Product rule that includes the schema changes (which includes the update to the data table)

Root Cause

According to the error, the table mapping information used by the util node (which maps the properties to the columns in the database) was not updated after the column was added to the database. This map did not have an entry for the new property. Hence, the Too many properties error occurred in the data that was saved to the database.

However, the Class rule for the class that had a new property was not included in the Product rule which contained the schema change. Hence, the Class rule's data mapping was not updated internally.


Perform the following local-change:
Save the Class rule manually to update the data map.

Published December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 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