Posted In: Caching, Java Core

Do not forget to add serialVersionUID in your POJO

What is a serialVersionUID and why should developer use it in POJO? Why developer should always add serialVersionUID in POJO. In an enterprise application sooner than later you will start using some caching mechanism. Any changes in POJO even if very small can change UID. In such cases all your cached objects will not work. […]

Read More

by , on August 23rd, 2017

  • Categories