Hibernate first-level cache issue while encrypting and decrypting an entity property

@Aditya you can take a look at Jasypt: https://github.com/grelland/jasypt-hibernate5

It’s what we used a long time ago to deal with automatic encryption with Hibernate.