Skip to content

fix: preserve structured column options when editing specifications - #2608

Merged
manticore-projects merged 1 commit into
JSQLParser:masterfrom
minleejae:fix/ddl-column-option-state
Sep 12, 2026
Merged

manticore-projects merged 1 commit into
JSQLParser:masterfrom
minleejae:fix/ddl-column-option-state

Conversation

@minleejae

Copy link
Copy Markdown
Contributor

Clearing structured column options can restore stale raw IDENTITY text, while appending legacy column specifications can discard structured REFERENCES information and remove referenced tables from traversal. Keep only the active option representation and preserve existing structured or raw options when appending through either API.

Regression tests cover identity removal, legacy appends retaining foreign-key traversal, promotion of raw specifications, and explicit replacement/clearing.

Validation: Java 17 ./gradlew check passed, including the full test suite, grammar ambiguity check and static analysis.

@manticore-projects
manticore-projects merged commit fec4ec4 into JSQLParser:master Sep 12, 2026
10 checks passed
@manticore-projects

Copy link
Copy Markdown
Contributor

Thank you!

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.

2 participants