No need to add manual handlers for both entry and update seedlot timestamps, because all child tables are being handled by the Audit Information Class which contains and handles these columns.
Only the Favourite Activities table was required to be manually handled.
User Story
As a user, I want to know that all timestamp columns are being handled by the application, not by triggers.
Acceptance Criteria
set_entry_timestamp
from all tables;set_update_timestamp
from all tables;trigger_set_entry_timestamp
andtrigger_set_update_timestamp
procedures from the Postgres database;@PrePersist
routines (on all table Entities Java classes) ensuring bothentry_timestamp
andcurrent_timestamp
will get updated accordingly.References