on 01-04-2017 7:35 AM
why is there no serialVersionUID in de.hybris.platform.core.model.product.ProductModel?
Hi Rahul,
Please check the usage for serialVersionUID in java class from below link,
http://stackoverflow.com/questions/285793/what-is-a-serialversionuid-and-why-should-i-use-it
I guess its not needed unless you are transmitting data over network or using serialization process.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phani,
Thanks for reply. I am aware of the use of serialVersionUID in java.
I faced issue due to this.. We have extended product model and added custom attribute(object).. It got logged in SavedEntryValue table...we changed the custom object,,while retrieving it from deserializing.. In compatible class exception is thrown.. which wont be if we have provision to add serial version if hybris model.
User | Count |
---|---|
5 | |
1 | |
1 | |
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.