Repository navigation
fix(perc-system): type services.contentmgr/legacy Hibernate queries (#3210) - #3266
Merged
Merged
Conversation
…3210) Residual of #3188 / epic #2022 after the publisher batch. Type remaining raw Query/list in PSCmsObjectMgr, PSContentMgr, and PSContentRepository with createQuery/createNamedQuery/createMutationQuery/createNativeQuery result classes. Bind loadItemEntry by :id. Add focused unit tests. > Co-Authored by Grok Build using grok-4.5 with agent main.
This was referenced Aug 12, 2026
natechadwick
approved these changes
Aug 13, 2026
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.
Summary
PR-sized residual of #3210 / epic #2022 after publisher batch #3188: type
com.percussion.services.legacyandcom.percussion.services.contentmgrHibernate query residual with real generics.Query/getNamedQuery/ native query withcreateQuery(..., Class),createNamedQuery(..., Class),createNativeQuery(..., Object[].class), andMutationQueryfor date updates; bindloadItemEntrywith:idcreateQuery(..., Object[].class)for id/revision and filter projectionsprepareQueryasQuery<Map>fornew map(...)projections; remove list-level@SuppressWarnings("unchecked"); copy/remap folder id via helpersPSServicesLegacyTypedTest(7) andPSServicesContentmgrTypedTest(5)Operator: Grok: night-issue-prs (model grok-4.5)
Parent: #2022
Fixes: #3210
Residual: #3265 (assembly / schedule-workflow / other services)
Product documentation
Test plan
system/:../mvnw.cmd clean install(JDK 21)../mvnw.cmd "-Dtest=PSServicesLegacyTypedTest,PSServicesContentmgrTypedTest" testChecklist
systemstandalonemvnw clean installgreensystemstandalone clean install (no skipTests)Gates evidence
systemcd system && ../mvnw.cmd clean install→ BUILD SUCCESS; Tests run: 2008, Failures: 0, Errors: 0, Skipped: 241PSServicesLegacyTypedTest7 +PSServicesContentmgrTypedTest5 (12 total) greenfinal/sealed; no public/protected method or ctor signature change. Package-visible HQL helpers added for tests only.Partial / residual
Partial for epic #2022 services.* Xlint: remaining packages tracked as #3265.