Java Patterns to store username and lastmodification date in a database
I generally udes @PrePersist to store timestamp on a date field on any mapper Java class (JPA), but I was wondering if there is any other anotation that can be used to store de username (id) of that particulary user, so at the end I could have a full Java Model with the timestamp, version @Version and username or username.id in the same record in a Database.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread