Unable to insert data in the database after schema changes
Unable to insert data in the database after schema changes. The user configuration has an external table with column,YOUR_COLUMN_NAME, and an exposed property, your_column_NAME.
com.pega.pegarules.pub.database.BadTableMappingException: Database-BadTableMapping-TooManyProperties your_data_class your_schema.your_table PegaDATA your_column_NAME
Steps to Reproduce
A defect in Pegasystems’ code or rules. Two properties in the class hierarchy have the same name. As a result, during data retrieval from the database to determine the mapping for the table, an incorrect property is chosen and the mapping fails.
ResolutionPerform the following local-change:
On the External Mapping tab for the class, explicitly map the column to the property. In this case map column YOUR_COLUMN_NAME to property your_column_NAME
0% found this useful