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-18112 Some dialects use the wrong default version #8380

Merged
merged 1 commit into from
May 15, 2024

Conversation

yrodiere
Copy link
Member

@yrodiere yrodiere commented May 14, 2024

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

We were testing Oracle only, hence the undetected failures.

I kept this test as a unit test, but I wonder if it shouldn't rather be an integration test TBH. That would require some changes to database.gradle, e.g. to add the product name, so that we can (somehow) retrieve it from the test. Probably better do that as a separate improvement, on main only, and when we're not being rushed.

Backport to branch 6.5: #8381


@ParameterizedTest
@MethodSource("dialects")
void testAccessDisabledExplicitDialect(String productName, Class<?> dialectClass, DatabaseVersion expectedDatabaseVersion) {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'productName' is never used.
@yrodiere yrodiere merged commit d1be36b into hibernate:main May 15, 2024
22 of 25 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
2 participants