Skip to content

minor cleanups in results.spi

1551e73
Select commit
Loading
Failed to load commit list.
Merged

lots of cleanups and minor refactorings to results stuff #11548

minor cleanups in results.spi
1551e73
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Jan 4, 2026 in 13s

3 new alerts

New alerts in code changed by this pull request

  • 1 warning
  • 2 notes

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 1177 in hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedInsertHandler.java

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
entityTableToRootIdentity
may be null at this access because of
this
assignment.

Check notice on line 168 in hibernate-core/src/main/java/org/hibernate/query/results/internal/dynamic/DynamicFetchBuilderLegacy.java

See this annotation in the file changed.

Code scanning / CodeQL

Possible confusion of local and field Note

Potentially confusing name: method
fetchBuilderMap
also refers to field
fetchBuilderMap
(as this.fetchBuilderMap).

Check notice on line 18 in hibernate-core/src/main/java/org/hibernate/sql/ast/tree/insert/Values.java

See this annotation in the file changed.

Code scanning / CodeQL

Exposing internal representation Note

getExpressions exposes the internal representation stored in field expressions. The value may be modified
after this call to getExpressions
.
getExpressions exposes the internal representation stored in field expressions. The value may be modified
after this call to getExpressions
.
getExpressions exposes the internal representation stored in field expressions. The value may be modified
after this call to getExpressions
.