java.sql.Date from AttibuteConverter is excepting timestamp in database

Description

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.

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

Environment

None

Status

Assignee

Unassigned

Reporter

Ilpo Kettunen

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.2.18

Affects versions

Priority

Minor
Configure