@SoftDelete
annotation, introduced in Hibernate version 6.4, provides first-class support for soft deletes, allowing to logically mark rows rows as deleted without actually removing them from the Database. In this tutorial we will see a proof of concept example of @SoftDelete
and its common configuration attributes.
Quickstart tutorials Hibernate/JPA
Java Persistence (JPA) Tutorial with WildFly
Jakarta Persistence API (JPA) is a Java specification for accessing, persisting, and managing data between Java objects/classes and a relational database. It is a part of the Jakarta EE platform, and it provides a standard approach for ORM (Object-Relational Mapping). In this JPA tutorial, we will learn how to use JPA to create, read, update, and delete (CRUD) data in a database.