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

Use "GENERATED BY DEFAULT AS IDENTITY" for h2 2.0+ #2372

Merged
merged 2 commits into from Feb 17, 2022
Merged

Conversation

nvoxland
Copy link
Contributor

@nvoxland nvoxland commented Jan 14, 2022

Description

Fixes #2362

Change H2 2.0's autoIncrement syntax from AUTO_INCREMENT GENERATED BY DEFAULT AS IDENTITY. Keep 1.x as-is


Dev Handoff Notes (Internal Use)

Links

Testing

Dev Verification

Old AUTO_INCREMENT syntax worked for me with 2.0 even, but users reported issues with it. Checked that the new syntax works with my 2.0 setup through both manual and automated tests

┆Issue is synchronized with this Jira Bug by Unito

@nvoxland nvoxland added this to To Do in Conditioning++ via automation Jan 14, 2022
@nvoxland nvoxland moved this from To Do to Code Review in Conditioning++ Jan 14, 2022
@suryaaki2 suryaaki2 moved this from Code Review to Ready for Handoff (In JIRA) in Conditioning++ Jan 21, 2022
@XDelphiGrl XDelphiGrl assigned yodzhubeiskyi and unassigned suryaaki2 Feb 9, 2022
@nvoxland nvoxland merged commit e72711a into master Feb 17, 2022
Conditioning++ automation moved this from Ready for Handoff (In JIRA) to Done Feb 17, 2022
@nvoxland nvoxland deleted the h2-autoincrement branch February 17, 2022 23:11
@nvoxland nvoxland added this to the v4.8.0 milestone Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Changeset generates wrong CREATE TABLE query for auto increment primary key column
4 participants