on ‎2019 Apr 03 12:21 PM
Hi,
As I am getting string data truncation error due to huge value, for existing attribute, I have added custom columns for the database in persistence column and done the system update. But it is still throwing data truncation error. If I create new attribute by adding these database columns, then it is working fine. But for existing attributes, it is not getting effected.
Is there any way to resolve this issue without doing system initialization.
Thanks,
Raghavendra
Request clarification before answering.
use 'dontOptimize="true" while declaring your attribute and it will do the trick for you. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
don't do that! dontOptimze has a considerable performance penalty
Hi - System Update does not alter the column size. You will need to alter the column size directly on the database. Every database allows increasing the column size e.g. the following command can be used in Oracle to increase the size of the column to 100.
ALTER TABLE table_name MODIFY column_name VARCHAR2(100);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, that's to be expected.
The update process does not modify the column definition of existing attributes.
Workaround: ALTER the column directly in the database while the application servers are down.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.