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

Tests compatible with H2 2.x #386

Merged
merged 9 commits into from
Oct 25, 2024
Merged

Tests compatible with H2 2.x #386

merged 9 commits into from
Oct 25, 2024

Conversation

matrei
Copy link
Contributor

@matrei matrei commented Oct 25, 2024

Closes #385

This has changed from `id INT AUTO_INCREMENT NOT NULL` to `id INT GENERATED BY DEFAULT AS IDENTITY NOT NULL`
The table `table_type` has changed to `BASE TABLE` and is shared with `information_schema` tables.
Selecting tables where `table_class = 'org.h2.mvstore.db.MVTable'` is a suitable replacement.
Unsupported file extension in 'file:/home/github/grails/grails-database-migration/build/resources/integrationTest/logback.groovy'. Only .xml is supported
@jamesfredley
Copy link
Contributor

org.hibernate.dialect.H2Dialect was only required because I had the old database files in my dev environment from h2:1.4.200, so I reverted that change.

@matrei
Copy link
Contributor Author

matrei commented Oct 25, 2024

org.hibernate.dialect.H2Dialect was only required because I had the old database files in my dev environment from h2:1.4.200, so I reverted that change.

Haha, I went through that as well 😄

@matrei matrei merged commit 3f91e70 into 6.0.x Oct 25, 2024
4 checks passed
@matrei matrei deleted the matrei/h2-2.x-test-compat branch October 25, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests are not compatible with H2 version 2.x
3 participants