Hibernate Soft Delete Example

Source

How to implement a soft delete with Hibernate

Technologies

Prerequisites

How to install OpenJDK 11 on Mac using brew

First of all, we need to tap a brew repo. Execute the following command:

brew tap AdoptOpenJDK/openjdk

After adding tap, let’s install OpenJDK using brew.

brew cask install adoptopenjdk11

Run this project

1 . Clone project on your machine

git clone git@github.com:BatuhanKucukali/hibernate-soft-delete-example.git

2 . Change directory

cd hibernate-soft-delete-example

3 . Run

./gradlew test

Getting help

If you're having trouble getting this project running, feel free to open an issue or email me!