Skip to content

Conversation

@cigaly
Copy link
Contributor

@cigaly cigaly commented Nov 26, 2024

See Jira Issue HHH-18881

Different methods for appendEncodedString and fromEncodedString in org.hibernate.type.descriptor.java.JdbcTimestampJavaType resulting in errors when time zone is different from UTC.

Solution is to use ENCODED_FORMATTER to parse character sequence into java.time.Instance an then convert it to java.sql.Timestamp


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


@cigaly cigaly changed the title Hhh 18881 Hhh 18881 In MySQL, array of dates are not converted correctly Nov 26, 2024
@beikov beikov merged commit 8b517c5 into hibernate:main Nov 27, 2024
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants