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-15752 Add Boolean support to oracle dialect #8059

Merged
merged 2 commits into from May 16, 2024

Conversation

ejannett
Copy link
Contributor

@ejannett ejannett commented Mar 28, 2024

Hi,

This pull request is about adding Boolean support to Oracle dialect.
Starting to version 23 the new BOOLEAN type will be used for Boolean entity fields.

Local tests have been run successfully.

Important note: This PR should be put on hold until further notice as it requires an external change.

https://hibernate.atlassian.net/browse/HHH-15752
https://hibernate.atlassian.net/browse/HHH-18123

Copy link
Contributor

@beikov beikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Please fixup some code style problems and then I'll run tests.

@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Mar 28, 2024

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.

@beikov
Copy link
Contributor

beikov commented Mar 28, 2024

And please squash the commits to a single one :)

@ejannett
Copy link
Contributor Author

Note that test failures on Java11/oracle_db23c are due to external changes that PR depend on.

@beikov
Copy link
Contributor

beikov commented Apr 2, 2024

What is this external change if I may ask?

@ejannett
Copy link
Contributor Author

ejannett commented Apr 3, 2024

What is this external change if I may ask?

Hi,
There is a fix required in the driver to properly inserted right values in Boolean array

@ejannett
Copy link
Contributor Author

ejannett commented Apr 3, 2024

@beikov I see errors related to pool starvation in java11//oracle_atps . Is there an environment issue right now in the tests?

@beikov
Copy link
Contributor

beikov commented Apr 3, 2024

@beikov I see errors related to pool starvation in java11//oracle_atps . Is there an environment issue right now in the tests?

I just rebased to run the tests again. @loiclefevre fixed a problem in the ATPS environment yesterday.

@beikov
Copy link
Contributor

beikov commented May 13, 2024

Is the driver fix released yet i.e. can we continue with this PR?

@ejannett
Copy link
Contributor Author

Is the driver fix released yet i.e. can we continue with this PR?

Hi,
The needed fix will be release by next driver release.
We gonna continue with this PR then.

Thank you for your comprehension

@beikov
Copy link
Contributor

beikov commented May 14, 2024

Please rebase the PR.

@beikov
Copy link
Contributor

beikov commented May 15, 2024

Rebase please. We don't want merge commits.

@ejannett
Copy link
Contributor Author

Hi @beikov it seems that the workflow is stuck.

@beikov
Copy link
Contributor

beikov commented May 15, 2024

There is a compile error and apparently also a conflict after your merge commit. Please fix that, then I'll re-run the workflow.

@loiclefevre
Copy link
Contributor

@ejannett, @beikov I think the JDBC driver has to be upgraded as well...

@loiclefevre
Copy link
Contributor

@ejannett, @beikov I think the JDBC driver has to be upgraded as well...

I see def oracleVersion = version "oracle", "23.3.0.23.09" inside settings.gradle instead of def oracleVersion = version "oracle", "23.4.0.24.05"

@loiclefevre
Copy link
Contributor

Also UCP version should be bumped too.

@ejannett
Copy link
Contributor Author

@beikov Shall I update the version of the driver or is this be part of another PR?

@beikov
Copy link
Contributor

beikov commented May 15, 2024

Yes, please update as part of the PR.

@beikov
Copy link
Contributor

beikov commented May 16, 2024

Please also add dialect skips for StructWithArrayEmbeddableTest#testSelectionItems, BooleanArrayTest#testNativeQueryUntyped and JsonWithArrayEmbeddableTest#testUpdateAllAggregateMembers, since these tests are also affected by the boolean array JDBC driver bug.

@beikov beikov merged commit 030b794 into hibernate:main May 16, 2024
18 of 21 checks passed
@beikov
Copy link
Contributor

beikov commented May 16, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants