How can I determine database column values โโgiven as read-only fields in JPA and Hibernate?
With MariaDB 10.2 it is possible to define a default value for Datetime, eg. created and lastModified.
How do I access these columns as a read field? Since these values โโshould only be under the control of the database and should not be changed from code, but I want to make this property readable in code.
+3
source to share