Repository navigation
Merge 8.1.x into 9.0.x - #17314
Merged
Merged
Merge 8.1.x into 9.0.x#17314
Conversation
An enum unique group that includes a multi-column association no longer asks for a single column name and fails datastore startup. Each configured column of the group member is added to the unique key. A property with no explicit columns keeps the previous fallback. Fixes apache#16713 Assisted-by: Sisyphus:grok-4.7
A unique group declared before a composite association was keyed on parent_id, because those association columns did not exist yet. Resolve the group once Hibernate's second pass has populated them. Assisted-by: sisyphus-cursor-grok:grok-4.7
Unique-group members use the shared column resolver, and both key entry points wait for Hibernate's second pass. The 8.0.x constructors stay. Assisted-by: sisyphus-cursor-grok:grok-4.7
The in-tree grails-spring-security modules are first-party on 8.0.x. Keep upstream Spring Security and Shiro external, and treat defects in the Grails integration as in scope. Assisted-by: opencode:grok-4.7
…ring-security-8.0.x
Keep the shared unique-group column resolver and the second-pass wait. Assisted-by: opencode:grok-4.7
…ring-security-8.0.x
…p-multicolumn-8.0.x
…teria queries (apache#16559) Tests for the joins of association blocks in Hibernate 7 criteria queries: nested left joins, a nested block without a join type, blocks of the same name at two levels, an outer left join of the same name, detached criteria, subqueries, and an order on a projection alias with the name of an association block.
…#16940) * docs: upgrade note for the Hibernate 7 list() fetch mode join (apache#16898) Refs apache#16939 Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL * docs: show the inner join of the list() fetch join note on the criteria query, and name both restrictions (apache#16961) Addresses the review of apache#16940: list() takes no join type, so JoinType.INNER goes on the join of a criteria query, with the jakarta.persistence.criteria import; the restriction for players is isNotEmpty, as isNotNull covers club. Claude-Session: https://claude.ai/code/session_01Dmki4RzWwreEC2GkkyFnvL --------- Co-authored-by: James Daugherty <jdaugherty@jdresources.net>
…ticolumn-8.0.x Resolve every column of an enum unique-group member
…security-8.0.x docs: include Grails-owned Spring Security in the threat model
The script grabbed org.grails:grails-gsp-spring-boot:7.0.0-SNAPSHOT from repo.grails.org and pinned Groovy 4 and Spring Boot 3.5, so it ran an old 7.0 snapshot rather than this line. It now grabs the released org.apache.grails:grails-gsp-spring-boot:8.0.0 from Maven Central. Two changes make it start: Groovy is excluded from the grab, because the groovy command already supplies it and refuses a second copy at another version, and Application no longer proxies its bean methods, because a CGLIB proxy cannot be defined in the class loader of a script under Spring Framework 7. The .sdkmanrc now matches the repository: the Java of the root .sdkmanrc and the Groovy of dependencies.gradle. The unused Spring Boot CLI entry is removed.
The script now grabs 8.0.1-SNAPSHOT from the Apache snapshot repository instead of the 8.0.0 release, so it runs what is on 8.0.x, and a local publishToMavenLocal is picked up through Grape's default ~/.m2 resolver. setSnapshotGrailsVersion.sh, which the post-release step runs with the next version, now moves the script's @grab to that snapshot together with projectVersion, and fails if the @grab line no longer matches.
…script-8.0.x 8.0 (fix): make the GSP Spring Boot script example run
Merge 8.0.x into 8.1.x
The merge of 8.0.x brought the 8.0.x snapshot; this branch publishes 8.1.0-SNAPSHOT.
…script-8.1.x 8.1 (fix): run the GSP Spring Boot script example against 8.1.0-SNAPSHOT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges
8.1.xinto9.0.x, which brings 8.0.x's #16720 (unique-group keys for enum and composite association columns, Hibernate 7), #16559 (nested association joins in criteria queries, tests), #16940 (upgrade note for the Hibernate 7list()fetch mode join), #16976 (Grails-owned Spring Security in the threat model) and #17312 (the GSP Spring Boot script example runs against the branch's snapshot), merged up in #17313, and 8.1.x's #17316 (the script runs against8.1.0-SNAPSHOT) to this line.No conflicts. The merge changes only files those pull requests change, including three Hibernate 7 files that #16720 changed in a merge commit on its branch (23d85bc). No dependency, Gradle or
.sdkmanrcversion changes outside the GSP script example, whose@Grabnames 8.1.x's8.1.0-SNAPSHOTand whose.sdkmanrcnames Groovy 5.1.4; a follow-up moves them to this branch's versions. Hibernate 7 core compiles on this branch (main and test sources).