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