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

Hsql: Support using DEFAULT for generated columns in Insert #3372

Merged
merged 1 commit into from Jul 15, 2022
Merged

Hsql: Support using DEFAULT for generated columns in Insert #3372

merged 1 commit into from Jul 15, 2022

Conversation

hfhbd
Copy link
Collaborator

@hfhbd hfhbd commented Jul 15, 2022

When you add a new row to such a table using an INSERT INTO <tablename> ... statement, you can use the DEFAULT keyword for the IDENTITY column, which results in an auto-generated value for the column.

https://www.hsqldb.org/doc/2.0/guide/databaseobjects-chapt.html

Workaround for #3370 to provide a value for generated column. Not needed with a new release of sql-psi :P

@AlecKazakova AlecKazakova merged commit af1e044 into cashapp:master Jul 15, 2022
@hfhbd hfhbd deleted the h2Default branch July 15, 2022 12:26
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

Successfully merging this pull request may close these issues.

None yet

2 participants