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

Date column type not recognized in postgresql external table

SA-44962

Summary



When trying to insert data in an external table of PostgreSQL which has a Date column and mapped to a class which has a property of Date type, error occurs at the time of commit.

Error Messages



Error in commit()
com.pega.pegarules.pub.database.BadTableMappingException: Database-BadTableMapping-UnsupportedColumnType


Steps to Reproduce

  1. Map an external table in PostgreSQL with a Date column.
  2. Try to do an obj-save to this table.


Root Cause



At this time there is no plan in place to support Date on Postgres.

Resolution



Use Varchar column type for storing date value when using PostgreSQL.

Published March 8, 2018 - Updated October 8, 2020

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?

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