‎2013 May 23 10:16 AM
Hi there,
I have a DDIC-table, of which I generated a persistent class.
Now I have to change a data type/ data element of a table field. If I go to the persistent class, the data type is still the "old" one.
Is it possible to update the attributes of the class on the basis of the renewed table - or I have to delete this attribute out of the class and add it again afterward!?
Thanks,
Andreas
‎2013 May 24 11:32 AM
Hello Andreas,
or I have to delete this attribute out of the class and add it again afterward!?You just need to delete the field from the OR (persistence mapping) and then add the field back. This should do it for you.
And a function like "regeneration" I couldn't find in the persistence peresentation modeThere is no such option for the OR mapping. You have to do it manually.
BR,
Suhas
‎2013 May 23 1:12 PM
Hi,
Did you try regenerating/re-activating the class after the change?
Hope this helps,
~Athreya
‎2013 May 24 10:33 AM
Yes, I tried reactivating. And a function like "regeneration" I couldn't find in the persistence peresentation mode..
‎2013 May 24 11:32 AM
Hello Andreas,
or I have to delete this attribute out of the class and add it again afterward!?You just need to delete the field from the OR (persistence mapping) and then add the field back. This should do it for you.
And a function like "regeneration" I couldn't find in the persistence peresentation modeThere is no such option for the OR mapping. You have to do it manually.
BR,
Suhas
‎2013 May 24 1:05 PM