Skip to content

[OPENJPA-2991] Gate the nested compound selection rejection behind a compatibility option - #195

Open
rzo1 wants to merge 1 commit into
masterfrom
OPENJPA-2991
Open

rzo1 wants to merge 1 commit into
masterfrom
OPENJPA-2991

Conversation

@rzo1

@rzo1 rzo1 commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Rejecting nested tuple and array selections is spec-correct, but it dropped an OpenJPA extension that applications may rely on. The rejection is now gated behind the new compatibility option AllowNestedCompoundSelection, which defaults to the spec behaviour and can be turned on to restore the extension. TestMultiselect covers both, and the migration guide documents the option.

…compatibility option

Rejecting nested tuple/array selections in CriteriaBuilder.tuple()/array()
drops an OpenJPA extension that applications may rely on. Keep the
specification behaviour as default and add the compatibility option
AllowNestedCompoundSelection to restore the historic nesting support.
@rzo1 rzo1 self-assigned this Sep 26, 2026
@rzo1
rzo1 requested review from cristof and solomax September 26, 2026 17:51
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.

1 participant