KOMARINA
(Srinivas Bharat Komarina)
November 6, 2023, 11:08am
1
Hi,
Greetings. I am getting the below error, i have increased the column size to 256 and also re-saved Database Table mapping as well as class instance
Database-BadTableMapping-KeyPropertyTooBig PXINSNAME PegaDATA pr_perf_stats 128 132
Is there anything else i should be doing?
I am on Pega 8.8.2 (containarized deployments)
Regards,
Bharat
Bhumireddy
(Bhumireddy Veera Ashokkumarreddy)
November 6, 2023, 12:28pm
2
Hi @KOMARINA
My understanding is that you can’t increate the size of the colom.
When updating or overriding a property that has a Max Length defined, you can enter a smaller Max Length value but not a larger value.
Please refer below articles
Hi, I have a Property rule whose max length has been defined as 12 in "Advanced" tab. Is there a way to extend the length to 13? I have read in PDN that the length cannot be increased once defined, but is there a way we can do this as it is important...
Thanks,
Ashok
KOMARINA
(Srinivas Bharat Komarina)
November 6, 2023, 12:30pm
3
@Bhumireddy Thank you but pxInsName has no length defined within Pega. Increased length can be seen via Modify Schema wizard within Pega, just that error is still being trhown on old/original length.
Regards,
Bharat
Bhumireddy
(Bhumireddy Veera Ashokkumarreddy)
November 6, 2023, 12:40pm
4
Hi @KOMARINA ,
Could you please give a try by using below activity.
CL:Code-Pega-DB-Column ID:pzUpdateColumnLength
Can you try the following after increasing the column in the schema
Open the class rule form
Do a test connection
Save the class rule form
Open Data-Admin-DB-Table instance of the class
Do a test connection
Save the Data-Admin-DB-Table instance
Thanks,
Ashok
KOMARINA
(Srinivas Bharat Komarina)
November 6, 2023, 1:44pm
5
@Bhumireddy We are using Oracle, i do not see a way to execute this activity standalone however column length has been increased and can be seen via Modify Schema. I did do re-save of class and database table.
Regards,
Bharat
KOMARINA
(Srinivas Bharat Komarina)
November 7, 2023, 12:17am
6
Clearing the Conclusion Cache from Admin Studio for type “property” resolved the issue.