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

Complete implementation of identity columns #2339

Open
3 of 4 tasks
katzyn opened this issue Dec 16, 2019 · 0 comments
Open
3 of 4 tasks

Complete implementation of identity columns #2339

katzyn opened this issue Dec 16, 2019 · 0 comments

Comments

@katzyn
Copy link
Contributor

katzyn commented Dec 16, 2019

H2 partially supports the identity columns from the Standard. There are some incompatibilities:

  • H2 converts them to a plain columns with DEFAULT expression; but their identity status should be preserved.

  • GENERATED ALWAYS shouldn't be the same as GENERATED BY DEFAULT.

  • The Standard allows only one identity column per table.

  • Attempt to insert NULL into GENERATED BY DEFAULT column should throw exception instead of generation of value.

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

No branches or pull requests

1 participant