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

Unable to create a database template table

SA-88288

Summary



Unable to create a database template table.


Error Messages



An error occurred while attempting to write to the destination DB



Exception found in logs from UtilTier:

[PegaRULES-Batch-11] [STANDARD] [ ] [App-Ruleset:01.01.01] (ableForClass._baseclass.Action) ERROR   - CreateDBTableForClass - Failed while creating specified table:
com.pega.pegarules.pub.database.BadInputException: No type information avaliable for property: JOB_CATEGORY: code: <none> SQLState: <none> Message: <none>
    at com.pega.pegarules.data.internal.access.SQLGenerator.getPropertyType(SQLGenerator.java:887) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.access.SQLGenerator.getColumnTypeForPRPC(SQLGenerator.java:849) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.access.SQLGenerator.getAddTableSQLExcludeDefaultColumns(SQLGenerator.java:654) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.access.DatabaseImpl.generateSchemaForClass(DatabaseImpl.java:7363) ~[prprivate.jar:?]



Steps to Reproduce

  1. Create a new database template.
  2. Execute the Campaign to populate the table.


Root Cause



The mappings included properties which did not exist.


Resolution



As a local-change, create the property prior to mapping.
 

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