Spring Boot - Soft Deletes functionality with Spring Data Rest, JPA Repositories, Hibernate. Custom JPA Repository implementation for usage of soft deletes using LocalDateTime.
getTargetRepository(org.springframework.data.repository.core.RepositoryInformation) in CustomJpaRepositoryFactoryBean cannot override getTargetRepository(org.springframework.data.repository.core.RepositoryInformation) in org.springframework.data.jpa.repository.support.JpaRepositoryFactory
overridden method is final
Hey, thanks for this great project!
I would like to give some ideas... I am new to spring so I hardly will be able to make a PR to include it any time soon.
Custom names for soft delete columns. Some may prefer snake case.
How about to strip the project in a starter having the basic classes and a sample. It would be helpful in an eventual update and as tutorial.
Mysql databases have the possibility to set a on update CURRENT_TIMESTAMP option. Maybe the sql could have it just to make sure the row would have the updatedOn column with the right value if updated from outside.