We're updating the issue view to help you get more done. 

Document how the type auto-discovery works , the native SQL explicit type binding mechanism, and the JDBC type to Hibernate type contributions

Description

While fixing HHH-12925, I realized we need to document:

  • how the type auto-discovery works in regards to JPQL and native SQL queries,

  • the JDBC type to Hibernate type contribution mechanism used to bypass the default Dialect mapping

  • the native SQL explicit type binding mechanism via addScalar to fix the issue when multiple Types map the same JDBC Type.

Environment

None

Status

Assignee

Unassigned

Reporter

Vlad Mihalcea

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.3.7

Priority

Minor