Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYjI3MGQ0YmNm...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-16044?atlOrigin=eyJpIjoiYjI3MG...
) HHH-16044 (
https://hibernate.atlassian.net/browse/HHH-16044?atlOrigin=eyJpIjoiYjI3MG...
) date/time literal rendering on MySQL, DB2 (
https://hibernate.atlassian.net/browse/HHH-16044?atlOrigin=eyJpIjoiYjI3MG...
)
Issue Type: Improvement Assignee: Unassigned Components: hibernate-core Created:
14/Jan/2023 09:32 AM Priority: Minor Reporter: Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
I have modified the DB2 and MySQL dialects to render date/time literals using the
ANSI-standard syntax, instead of using JDBC escapes. This fixed a bug on DB2.
I left the Oracle dialect using JDBC escapes (because time literals would have been real
ugly), except for the special case of a timestamp literal with an offset/zone, where the
JDBC driver doesn’t support it, and so I use the ANSI syntax.
(
https://hibernate.atlassian.net/browse/HHH-16044#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16044#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:b03f6a4 )