Skip to content

HHH-20092 Bind nulls with non-nationalized type code if nationalized methods are unsupported#11989

Merged
beikov merged 1 commit intohibernate:mainfrom
beikov:supportsNationalizedMethods-null
Mar 18, 2026
Merged

HHH-20092 Bind nulls with non-nationalized type code if nationalized methods are unsupported#11989
beikov merged 1 commit intohibernate:mainfrom
beikov:supportsNationalizedMethods-null

Conversation

@beikov
Copy link
Copy Markdown
Member

@beikov beikov commented Mar 17, 2026

I noticed a test failure in #11680 for Sybase because of this. Seems the jTDS driver is also rejecting setNull() invocations when being passed NVARCHAR etc., so we have to respect the Dialect#supportsNationalizedMethods() result for that as well.


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.



Please make sure that the following tasks are completed:
Tasks specific to HHH-20092 (Bug):

  • Add test reproducing the bug
  • Add entries as relevant to migration-guide.adoc OR check there are no breaking changes

https://hibernate.atlassian.net/browse/HHH-20092

@beikov beikov merged commit 8689349 into hibernate:main Mar 18, 2026
25 of 27 checks passed
@beikov beikov deleted the supportsNationalizedMethods-null branch March 18, 2026 13:51
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.

1 participant