[hibernate/hibernate-orm] dfc282: extremely minor cleanups to type descriptors
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: dfc282adb13a8ca3f5924a18c5c6d100d5a596a1
https://github.com/hibernate/hibernate-orm/commit/dfc282adb13a8ca3f5924a1...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryParameterBindingImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCastTarget.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/CalendarDateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarTimeJavaType.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/DateJavaType.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/FloatJavaType.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/JdbcTimestampJavaType.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/LongJavaType.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/ShortJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZonedDateTimeJavaType.java
Log Message:
-----------
extremely minor cleanups to type descriptors
Commit: b53732d14136ef05c1c1b58573bd89ba1be20872
https://github.com/hibernate/hibernate-orm/commit/b53732d14136ef05c1c1b58...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
Log Message:
-----------
fix bug where parameters of cast target type were not passed along
This was yet another bug that resulted from what I've been warning about:
the use of untypesafe getChild() methods in SQB. So I've gone through and
removed even more of those, to further reduce the probability of this kind
of bug in the future.
Commit: d3a1b4f33e1d3f286f6e3bb33d0eecc7b22b9f9c
https://github.com/hibernate/hibernate-orm/commit/d3a1b4f33e1d3f286f6e3bb...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
Log Message:
-----------
add test for cast() with parameters in numeric expressions
Commit: cbc572427db1a3be4deffe5448f3f18233ac65f7
https://github.com/hibernate/hibernate-orm/commit/cbc572427db1a3be4deffe5...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
Log Message:
-----------
disable some tests on MySQL due to HHH-16989
Compare: https://github.com/hibernate/hibernate-orm/compare/e83008e75d97...cbc5724...
1 year, 4 months
[hibernate/hibernate-orm] 0c7c68: HHH-16981 Improve JdbcOperation caching
by Christian Beikov
Branch: refs/heads/6.2
Home: https://github.com/hibernate/hibernate-orm
Commit: 0c7c68fe5a12a8fa1bc2d52253fcafa4578bb365
https://github.com/hibernate/hibernate-orm/commit/0c7c68fe5a12a8fa1bc2d52...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/CollectionLoaderSingleKey.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/GeneratedValuesProcessor.java
Log Message:
-----------
HHH-16981 Improve JdbcOperation caching
Commit: 34628e71da07edd8062469da12adccafb7ee4e37
https://github.com/hibernate/hibernate-orm/commit/34628e71da07edd8062469d...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/internal/DelegatingDomainQueryExecutionContext.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractSelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/DomainQueryExecutionContext.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/SqmJdbcExecutionContextAdapter.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/CallbackImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/CallbackNoOp.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcSelectExecutorStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/Callback.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/ExecutionContext.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/NestedRowProcessingState.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/RowProcessingStateStandardImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/BaseSqmUnitTest.java
Log Message:
-----------
HHH-16982 Avoid unnecessary registerReloadedEntity calls
Commit: 7eba1b44832d047ef738491650a93a10ce887fd5
https://github.com/hibernate/hibernate-orm/commit/7eba1b44832d047ef738491...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryInterpretationCache.java
Log Message:
-----------
HHH-16983 Avoid unnecessary allocations for HQL interpretation caching
Commit: 949397f1bd7704fa9c6afe5611db7244f99c6234
https://github.com/hibernate/hibernate-orm/commit/949397f1bd7704fa9c6afe5...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/H2LegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/MultiKeyLoadHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/StandardBatchLoaderFactory.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheStandardImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/batch/BatchAndClassIdAndLazyCollectionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/batch/BatchAndClassIdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/batch/BatchAndEmbeddedIdId2Test.java
M hibernate-core/src/test/java/org/hibernate/orm/test/batch/BatchAndEmbeddedIdIdAndLazyCollectionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/batch/BatchAndEmbeddedIdIdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/NestedLazyManyToOneTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/loading/multiLoad/MultiLoadSubSelectCollectionDialectWithLimitTest.java
Log Message:
-----------
HHH-16984 Disable use of arrays for batch and multi-loader on H2
Compare: https://github.com/hibernate/hibernate-orm/compare/bf9a8283dc24...949397f...
1 year, 4 months