When AttributeConverter returns java.sql.Date it was mapped as date -type in database in version 5.2.18 of hibernate ORM. After upgrading 5.3.0 and forward that is mapped to timestamp -type in database even that entity .
Entity property which is java.sql.Date is correctly mapped to date -type on db.
Test case as PR-28 in hibernate-test-case-templates repository since I did not find good place to add all 3 files. https://github.com/hibernate/hibernate-test-case-templates/pull/28 |
|