I have a model object where I want to have a field with a date. For now I am using ZonedDateTime
as it fits our needs.
Hibernate stores this field in the database as a tinyblob
. Can we change the way it is saved in the database to a more readable format and more importantly to a sortable format?
The database used is a mysql db.