HibernateCore

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset {id} does not exist.

ResultSet mapping

- support for dynamic instantiations of scalar values. This is all JPA defines support for wrt `@ConstructorResult`

- support for mixed result mappings, including dynamic instantiations which JPA says is not legal. We support this in HQL also

fix issue with not compiling tests

Revert "fix issue with not compiling tests"

This reverts commit fc914ea647e92fe1e82d74f4ee5d566c4b29f3dd.

    • -28
    • +0
    /hibernate-core/hibernate-core.gradle
  1. … 29 more files in changeset.
fix issue with not compiling tests

    • -0
    • +28
    /hibernate-core/hibernate-core.gradle
  1. … 29 more files in changeset.
oops

Named Query javadoc

Support for JPA `SqlResultSetMapping`, both in terms of:

- creating memento instances for each mapping and storing into repository for runtime access

- applying to native-queries

Only support for column results is implemented atm since only scalar results are implemented for native-query

    • -0
    • +21
    /hibernate-core/src/main/java/org/hibernate/boot/BootLogging.java
  1. … 35 more files in changeset.
HHH-14124 Avoid too many list allocations when hydrating query results

I suspect the original goal of having a single list of hydrated objects

for all rows was to avoid instantiating one list per row, but we did

just that in the fix in the last commit.

This introduces a hack to signal that we're starting to process a new

row while still keeping a flat, single-list structure: we inserting

null elements in the list of hydrated objects.

This is admittedly very ugly, but it's the only solution I can come up

with if we want to keep the number of memory allocations similar to what

we used to have. And hopefully this code will disappear in ORM 6.0.

HHH-14124 Avoid too many list allocations when hydrating query results

I suspect the original goal of having a single list of hydrated objects

for all rows was to avoid instantiating one list per row, but we did

just that in the fix in the last commit.

This introduces a hack to signal that we're starting to process a new

row while still keeping a flat, single-list structure: we inserting

null elements in the list of hydrated objects.

This is admittedly very ugly, but it's the only solution I can come up

with if we want to keep the number of memory allocations similar to what

we used to have. And hopefully this code will disappear in ORM 6.0.

HHH-14124 Work around side-effects of TwoPhaseLoad.initializeEntity

HHH-14124 Work around side-effects of TwoPhaseLoad.initializeEntity

HHH-14124 Test that the FETCH entitygraph semantic overrides EAGER associations to LAZY for all results

HHH-14124 Test that the FETCH entitygraph semantic overrides EAGER associations to LAZY for all results

HHH-14124 Test that the FETCH entitygraph semantic overrides EAGER associations to LAZY

HHH-14124 Test that the FETCH entitygraph semantic overrides EAGER associations to LAZY

NativeQuery support

- parameter handling

Fix @ElementCollection + @OrderBy with Inheritance

NativeQuery support

- `NativeQuery#addAttributeResult`

NativeQuery support

- javadoc

NativeQuery support

- support for `#addScalar(Class,AttributeConverter)`

- support for `#addScalar(Class,Class<AttributeConverter>)`

- fixed problem with mapping of converted enums

    • -0
    • +20
    /design/6.0-changes.adoc
  1. … 14 more files in changeset.
5.4.20-SNAPSHOT

5.4.19.Final

HHH-13410 - Fix Oracle failing test

HHH-13410 - Fix Oracle failing test

HHH-14116 Exception when fetch joining a non-collection when selecting non-query-root

HHH-14116 Exception when fetch joining a non-collection when selecting non-query-root

HHH-13724 Fix failing tests

HHH-13724 Fix failing tests

HHH-13724 Add matrix configuration

    • -0
    • +14
    /databases/cockroachdb/matrix.gradle
    • -0
    • +25
    /databases/cockroachdb/resources/hibernate.properties
HHH-13724 Add matrix configuration

    • -0
    • +14
    /databases/cockroachdb/matrix.gradle
    • -0
    • +25
    /databases/cockroachdb/resources/hibernate.properties