Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HHH-17246 - Guard against Sybase being configured for truncating trailing zeros #9079

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

jrenaat
Copy link
Contributor

@jrenaat jrenaat commented Oct 10, 2024


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.


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

@jrenaat jrenaat requested a review from beikov October 10, 2024 19:26
@gavinking
Copy link
Member

@jrenaat It should be possible to detect that Sybase is configured like this, right? Just like we detect certain things about how MySQL or Oracle is configured, when we instantiate their dialects.

I think we should start logging warnings for such "bad" config, i.e. this thing, and also non-ANSI nulls.

@jrenaat
Copy link
Contributor Author

jrenaat commented Oct 11, 2024

@jrenaat It should be possible to detect that Sybase is configured like this, right? Just like we detect certain things about how MySQL or Oracle is configured, when we instantiate their dialects.

I think we should start logging warnings for such "bad" config, i.e. this thing, and also non-ANSI nulls.

I tried to find out how to do this, but failed miserably ...

@jrenaat jrenaat force-pushed the HHH-17246_SybaseUUID branch from eef475e to 549af2f Compare October 11, 2024 12:23
@jrenaat jrenaat force-pushed the HHH-17246_SybaseUUID branch from 549af2f to 5fc034b Compare October 14, 2024 21:40
@jrenaat jrenaat force-pushed the HHH-17246_SybaseUUID branch from 5fc034b to ba8451e Compare October 16, 2024 19:51
@jrenaat jrenaat force-pushed the HHH-17246_SybaseUUID branch 3 times, most recently from 8cacaa9 to 15a630c Compare October 21, 2024 19:28
@jrenaat jrenaat requested a review from beikov October 21, 2024 20:50
@beikov beikov force-pushed the HHH-17246_SybaseUUID branch from 15a630c to 1cd000c Compare November 13, 2024 11:45
@beikov beikov force-pushed the HHH-17246_SybaseUUID branch from 1cd000c to 877eb95 Compare November 13, 2024 15:33
@beikov beikov merged commit 0ca27a4 into hibernate:main Nov 13, 2024
22 of 24 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