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

Obj-Browse is throwing PSQLException



In Pega 7.3, PSQLException occurs when retrieving data using Obj-Browse and PostgreSQL database. However, the same code works in Oracle and Pega 7.1.8.

Error Messages

org.postgresql.util.PSQLException: ERROR: operator does not exist: numeric = character varying
Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Position: 377
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse( ~[postgresql-42.1.1.jar:42.1.1]
at org.postgresql.core.v3.QueryExecutorImpl.processResults( ~[postgresql-42.1.1.jar:42.1.1]
at org.postgresql.core.v3.QueryExecutorImpl.execute( ~[postgresql-42.1.1.jar:42.1.1]
at org.postgresql.jdbc.PgStatement.executeInternal( ~[postgresql-42.1.1.jar:42.1.1]
at org.postgresql.jdbc.PgStatement.execute( ~[postgresql-42.1.1.jar:42.1.1]
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags( ~[postgresql-42.1.1.jar:42.1.1]
at org.postgresql.jdbc.PgPreparedStatement.execute( ~[postgresql-42.1.1.jar:42.1.1]

Steps to Reproduce

Run the activity that calls an Obj-Browse of a table.

Root Cause

An issue in the custom application code or rules. In Pega, a property is defined as a Text, however, the database column is Numeric.
Oracle queries a number column like it is a String. PostgreSQL does not perform this implicit conversion and hence generates errors.


Perform either of the following local-changes:
  • Change the property within Pega to Integer.
  • Change the column within the database to varchar.

Published April 12, 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?

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