Add out of the box support for saving entity field of type ZonedDateTime (and other Java8 date types) in Data Jdbc #394
Labels
type: improvement
A minor improvement to an existing feature
Milestone
Thanks for reporting an issue for Micronaut Data, please review the task list below before submitting the
issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.
NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Stack Overflow (http://stackoverflow.com/tags/micronaut) or Gitter (https://gitter.im/micronautfw/). DO NOT use the issue tracker to ask questions.
Task List
Steps to Reproduce
Expected Behaviour
Micronaut should support conversion for ZonedDateTime and other Java 8 date types out of the box as it is very common usage.
Actual Behaviour
Errors out stating we need to define TypeConverter to convert from ZonedDateTimeTo java.utils.Date
Environment Information
Example Application
https://github.com/brsanthu/mn-test-zdt
Run the app (
mvn compile exec:exec
) and openhttp://localhost:8080/insert
which gives an errorThe text was updated successfully, but these errors were encountered: