SAP Hybris suite , Hybris tutorial, Java, J2ee Stuff Online-

Can we change type of existing attribute of item in hybris and how ?

Open 1 Answers 444 Views

some time you have face question in hybris interview that Let's in product item there is an attribute which type is String and want to change the type to Int then how


Answer :- Some time developer gives answer that YES we can change by using redeclare=true But answer will NO - redeclare only change to subtype means if existing attribute is type of "Person" then by redeclare you can change into type which is subtype of "Person"

For More Clear Read - Core concept of redeclare in hybris items | items concept in hybris

1 Answer


Yes , we can do but only to subtype

answered Jul 13 by anonymous