Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 15581

How do I implement soft delete in OpenXava?

$
0
0

OpenXava does not seem to offer any bundled implementation of the soft delete strategy, e.g. a strategy of using a deletedAt column that can be NULL, and setting it to the time the row was deleted, without actually deleting it, or some other similar solutions.

This strategy is commonly used, it is implemented and bundled with other famous ORM frameworks (Sequelize to name one) and it has many advantages in enterprise applications. It does have a few drawbacks, so it's a matter of choice: sometimes you want to keep deleted rows around and just filter them out in most subsequent read operations.

So, how can I implement such strategy in OpenXava?


Viewing all articles
Browse latest Browse all 15581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>