Mapping a boolean with hibernate

There is a concept called a soft delete. While working with different persistence framework, sometimes you may not want to completely delete an entity from the database. I was working with hibernate and I had an entity named "User". I didn’t want to completely delete this ‘User’ entity, rather than I wanted to keep a … Continue reading Mapping a boolean with hibernate