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

Getting error No enum constant com.pega.pegarules.data.external

SA-16175

Summary



User creates a data class in PRPC on a custom DB table in Oracle which is having a column with NVARCHAR2 data type to support Japanese and other special characters.When we use that column in a report definition, and when report definition is executed to fetch the data, below exception occurs.
 

Error Messages



Error:
** ** No enum constant com.pega.pegarules.data.external.rd.constants.ColumnType.NVARCHAR2 ** No enum constant com.pega.pegarules.data.external.rd.constants.ColumnType.NVARCHAR2

Steps To Reproduce
  1. Create a custom db table in oracle with a column type NVARCHAR2. 
  2. Create a class mapping and use that property in Report Definition
  3. Execute Report Definition.
     

Root Cause


Issue with PRPC code.NVARCHAR2 data type in Oracle is not supported earlier.

Resolution

Apply HFix-24514.

 

Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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