Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: e9513b1db5553cec8e8bfb3a095fc3d903a747b5
https://github.com/hibernate/hibernate-orm/commit/e9513b1db5553cec8e8bfb3...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-08-05 (Mon, 05 Aug 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/cache/internal/QueryResultsCacheImpl.java
M
hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/StatementPreparerImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/StatementPreparer.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/LoadQueryInfluencers.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterImpl.java
R
hibernate-core/src/main/java/org/hibernate/internal/util/collections/LinkedIdentityHashMap.java
M
hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureParameterMetadataImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/ParameterMetadataImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryParameterBindingImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryParameterBindingsImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/spi/AbstractCommonQueryContract.java
M
hibernate-core/src/main/java/org/hibernate/query/spi/ParameterMetadataImplementor.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryParameterBinding.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryParameterBindings.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/DomainParameterXref.java
M
hibernate-core/src/main/java/org/hibernate/sql/exec/internal/BaseExecutionContext.java
M
hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcSelectExecutorStandardImpl.java
A
hibernate-core/src/main/java/org/hibernate/sql/exec/internal/StandardStatementCreator.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/JdbcSelectExecutor.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/caching/internal/QueryCachePutManagerEnabledImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityResultGraphNode.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/internal/SqlSelectionImpl.java
A
hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/CachedJdbcValuesMetadata.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/DeferredResultSetAccess.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesCacheHit.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesMappingProducerStandard.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesResultSetImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/StandardJdbcValuesMapping.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/spi/JdbcValuesMapping.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/EntityJoinTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/BasicSelectionQueryTests.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/sql/results/AbstractResultTests.java
Log Message:
-----------
HHH-18271 Optimizations related to caching and statement execution
* Acquire ResultSet eagerly in JdbcValuesResultSetImpl to allow better inlining of hot
next() method
* Precompute cache related metadata in JdbcValuesMapping
* Don't copy data returned from cache, since it's never mutated
* Improve QueryParameterBindings building and binding
* Get rid of LinkedIdentityHashMap and reduce allocations
* Get rid of some megamorphic call sites
Commit: cf44c30bf2e8a1caa525a705bc37a4349301c8a7
https://github.com/hibernate/hibernate-orm/commit/cf44c30bf2e8a1caa525a70...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-08-05 (Mon, 05 Aug 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/loader/ast/internal/DatabaseSnapshotExecutor.java
M
hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdArrayLoadPlan.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/internal/LoadingCollectionEntryImpl.java
R
hibernate-core/src/main/java/org/hibernate/sql/results/internal/RowTransformerDatabaseSnapshotImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/internal/StandardRowReader.java
M hibernate-core/src/main/java/org/hibernate/sql/results/spi/ListResultsConsumer.java
Log Message:
-----------
HHH-18271 Improve fast path for row reading
Commit: 850a2a0753554126ecf92e3f9d5a72c0f64980b2
https://github.com/hibernate/hibernate-orm/commit/850a2a0753554126ecf92e3...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-08-05 (Mon, 05 Aug 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheDisabledImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractSelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/HqlInterpretation.java
M
hibernate-core/src/main/java/org/hibernate/query/spi/SimpleHqlInterpretationImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/InterpretationException.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/AbstractSqmSelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmUtil.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/AbstractSqmDmlStatement.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/delete/SqmDeleteStatement.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/insert/AbstractSqmInsertStatement.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/insert/SqmInsertSelectStatement.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/insert/SqmInsertValuesStatement.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectStatement.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/update/SqmUpdateStatement.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/immutable/ImmutableEntityUpdateQueryHandlingModeExceptionTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/immutable/ImmutableEntityUpdateQueryHandlingModeWarningTest.java
Log Message:
-----------
HHH-18271 Avoid query validations of cached queries by doing validation eagerly. Cache
allowed result types per query interpretation
Commit: 55702e458b1a79c5c55549a2d6034cf611c59f11
https://github.com/hibernate/hibernate-orm/commit/55702e458b1a79c5c55549a...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-08-05 (Mon, 05 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionKey.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/EntityKey.java
M hibernate-core/src/main/java/org/hibernate/type/AbstractStandardBasicType.java
M hibernate-core/src/main/java/org/hibernate/type/Type.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClassJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CurrencyJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DurationJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/EnumJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/InetAddressJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/InstantJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateTimeJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocaleJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ObjectJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/OffsetDateTimeJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/OffsetTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/TimeZoneJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/UUIDJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/UrlJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/YearJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZoneIdJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZoneOffsetJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZonedDateTimeJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/spi/JavaTypeBasicAdaptor.java
Log Message:
-----------
HHH-18271 Avoid mega-morphic callsites for equals/hashCode with known types
Commit: 72e2da2da84fae761f14ceeb822bd3e946690c78
https://github.com/hibernate/hibernate-orm/commit/72e2da2da84fae761f14cee...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-08-05 (Mon, 05 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/AbstractEntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
A hibernate-core/src/main/java/org/hibernate/internal/util/ImmutableBitSet.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/SqmMapEntryResult.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/Initializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/AbstractCollectionInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/AbstractImmediateCollectionInitializer.java
A
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/AbstractNonJoinCollectionInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/ArrayInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/BagInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/CollectionAssembler.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/DelayedCollectionInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/ListInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/MapInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/SelectEagerCollectionInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/SetInitializer.java
A
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AggregateEmbeddableResultGraphNode.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/EmbeddableInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/AggregateEmbeddableFetchImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/AggregateEmbeddableInitializerImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/AggregateEmbeddableResultImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableAssembler.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableInitializerImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/NonAggregatedIdentifierMappingInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/EntityInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/AbstractBatchEntitySelectFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/BatchEntityInsideEmbeddableSelectFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/BatchEntitySelectFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/BatchInitializeEntitySelectFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/DiscriminatedEntityInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityAssembler.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityInitializerImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/DynamicInstantiationAssemblerConstructorImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/DynamicInstantiationAssemblerInjectionImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/DynamicInstantiationAssemblerListImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/DynamicInstantiationAssemblerMapImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/CircularBiDirectionalFetchImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/CircularFetchImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/ReloadEntityTest.java
Log Message:
-----------
HHH-18271 Introduce lazy bitset for entities and other initializer improvements
* Cache more state in initializers
* Reduce mega-morphic call sites
* Do more efficient state resolving for query cache entries
Commit: e80d1ac54ee09491d2298183e427f7d16fbfce48
https://github.com/hibernate/hibernate-orm/commit/e80d1ac54ee09491d229818...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2024-08-05 (Mon, 05 Aug 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AggregateEmbeddableResultGraphNode.java
Log Message:
-----------
Update
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AggregateEmbeddableResultGraphNode.java
Javadoc and @Incubating
Compare:
https://github.com/hibernate/hibernate-orm/compare/2214c503836d...e80d1ac...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications