Reputation: 1658
How to reference java.time.LocalDate
type in a *hbm.xml
file? I tried type="localdate"
and it didn't work. Unfortunatelly it is not allowed to use annotations in this project to map entities.
The question How to persist LocalDate into Hibernate as a Date type does not answer my question because when I use type="date"
hibernate maps it to java.util.Date
instead.
Upvotes: 1
Views: 546