Skip to content

DistributionSetTypeElement#smType now Lazy - loaded only on demand - #3291

Merged
avgustinmm merged 2 commits into
eclipse-hawkbit:masterfrom
boschglobal:fix/dsType_elements
Aug 14, 2026
Merged

DistributionSetTypeElement#smType now Lazy - loaded only on demand#3291
avgustinmm merged 2 commits into
eclipse-hawkbit:masterfrom
boschglobal:fix/dsType_elements

Conversation

@vasilchev

Copy link
Copy Markdown
Contributor
  • exposed getSmTypeId to read the smtype id directly from the CompositeKey rather then loading the smType
  • exposed JpaDistribtuionSetType getMandatoryModuleTypeIds() and getOptionalModuleTypeIds() again to get the ids from the element composite key rather then loading the sm types
  • Improved the QueryUtil for sql readings among tests
  • used QueryUtil to test the smType lazy loading (and actually not loading whenever ids are needed)

- exposed getSmTypeId to read the smtype id directly from the CompositeKey rather then loading the smType
- exposed JpaDistribtuionSetType getMandatoryModuleTypeIds() and getOptionalModuleTypeIds() again to get the ids from the element composite key rather then loading the sm types
- Improved the QueryUtil for sql readings among tests
- used QueryUtil to test the smType lazy loading (and actually not loading whenever ids are needed)
@avgustinmm avgustinmm changed the title - DistributionSetTypeElement#smType now Lazy - loaded only on demand DistributionSetTypeElement#smType now Lazy - loaded only on demand Aug 14, 2026
- QueryUtil-> QueryCount
- rem,oved redundant default methods from DsType
@avgustinmm
avgustinmm merged commit a2df235 into eclipse-hawkbit:master Aug 14, 2026
6 checks passed
@avgustinmm
avgustinmm deleted the fix/dsType_elements branch August 14, 2026 08:19
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