ormlite - pre/post full events (pre: insert/update, post:insert/update)
Even though this is a lite/micro orm, these events are fundamentals and making the database fully auditable (by infrastructure).
I have never used an ORM without using all of these events.
Today only the pre-events are available.
There is a possibility to run code after and before you execute .save(), still.
this is very pitfully...
Also, the events are static. it is a nightmare to get external context to inside the event. such as current logedin user...
This comment contains misguided assumptions with how ORM’s work which require Singleton access to Request Contexts in order to access per-request context data like authenticated user info, explained in more detail with recommended solutions in this follow up thread: