Bump h2 from 1.4.196 to 2.0.206 - #969
Conversation
Bumps [h2](https://github.com/h2database/h2database) from 1.4.196 to 2.0.206. - [Release notes](https://github.com/h2database/h2database/releases) - [Commits](h2database/h2database@version-1.4.196...version-2.0.206) --- updated-dependencies: - dependency-name: com.h2database:h2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
paulhoadley
left a comment
There was a problem hiding this comment.
Looks like this is not going to be a drop-in replacement. Issues so far:
keyis apparently a reserved word in 2.0.x, not in 1.4.x. Fine, but if you've got an attributekeyanywhere (not reserved by PostgreSQL, for example), migrations will fail.- There seems to be an issue in
_H2PlugIn.newPrimaryKeys():
2022-01-07 03:54:24.605 INFO er.transaction.adaptor.Exceptions - Database Exception occured: Column "SEQUENCE_NAME" not found; SQL statement:
select SEQUENCE_NAME, COLUMN_DEFAULT from INFORMATION_SCHEMA.COLUMNS where UPPER(TABLE_NAME) = 'LS_AUDITTRAIL' and UPPER(COLUMN_NAME) = 'ID' [42122-206]at org.h2.message.DbException.getJdbcSQLException(DbException.java:521)
Item 2 is the killer. Indeed, there is a "new version of INFORMATION_SCHEMA for H2 2.0", and it doesn't contain SEQUENCE_NAME.
|
On balance, I don't think this change is worth pursuing. Our use case for |
|
As a bonus, the failure above seems to be intermittent. I now cannot reproduce it. If you do make it to the code path in the catch block in that method, it will definitely fail—as seen above. So it needs fixing, but I can't currently work out how to reliably trigger it. |
|
Superseded by #974. |
Bumps h2 from 1.4.196 to 2.0.206.
Release notes
Sourced from h2's releases.
... (truncated)
Commits
3d957a0Release 2.0.206 preparation2b6e303Update changelogb24aa46Check URL scheme4a2e677Get data types directly from linked tables from H269aff24Fix ValueVarcharIgnoreCase.equals()0ebf142Fix group-sorted optimization for data types with different equal values8aca5f4Correct Date and Time part in tutorial.html4bfd6f0Add support of H2 2.0+ to source.html and sourceError.html927c830Update copyright yearsabac6c8Next development versionDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.