[hibernate/hibernate-orm] cfeee8: HHH-18484 Add test for issue
by Marco Belladelli
Branch: refs/heads/6.6
Home: https://github.com/hibernate/hibernate-orm
Commit: cfeee89c051688a1b33dbca6681e8d8f0b6258c5
https://github.com/hibernate/hibernate-orm/commit/cfeee89c051688a1b33dbca...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/GeneratedNoOpUpdateTest.java
Log Message:
-----------
HHH-18484 Add test for issue
Commit: c8b1c881d8b1b080b64e95b66f2a5bf18a01ea4d
https://github.com/hibernate/hibernate-orm/commit/c8b1c881d8b1b080b64e95b...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/GeneratedValuesProcessor.java
Log Message:
-----------
HHH-18484 Account for null generated values for no-op updates
Commit: 8bbdab5505c76545c85d3acac6ba71217ad18aca
https://github.com/hibernate/hibernate-orm/commit/8bbdab5505c76545c85d3ac...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
A hibernate-core/src/test/java17/org/hibernate/orm/test/records/RecordEmbeddedPropertyNamesTest.java
Log Message:
-----------
HHH-18445 Add test for issue
Commit: 26c1655117bed7be4a2874fa4d60a214c4b6a245
https://github.com/hibernate/hibernate-orm/commit/26c1655117bed7be4a2874f...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyContainer.java
Log Message:
-----------
HHH-18445 Always preserve correct property order for java records
Commit: f5c5aa943e56df9cd85d5b0d3f05c7a04f3c03e4
https://github.com/hibernate/hibernate-orm/commit/f5c5aa943e56df9cd85d5b0...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/querycache/QueryCacheNullValueTest.java
Log Message:
-----------
HHH-18439 Add test for issue
Commit: 64181507f3988c87e0869326a7bde918ffcc4f46
https://github.com/hibernate/hibernate-orm/commit/64181507f3988c87e086932...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmUtil.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesCacheHit.java
Log Message:
-----------
HHH-18439 Account for null values in query cache hit
Also, solve an assertion error in query result type check when selecting `null` literals
Commit: 7e0e2f77d448d9df4faab6c35eb82b10179b8a71
https://github.com/hibernate/hibernate-orm/commit/7e0e2f77d448d9df4faab6c...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/entitygraph/FindGraphCollectionOrderByTest.java
Log Message:
-----------
HHH-18436 Add test for issue
Commit: 29278a76773b61e24c9b88a8c8dcb901849fdf2b
https://github.com/hibernate/hibernate-orm/commit/29278a76773b61e24c9b88a...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSqlAstCreationState.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/SqlAstCreationState.java
Log Message:
-----------
HHH-18436 Apply plural attribute ordering when creating the join
Commit: 9f777e8d5b90a08f33911195906729e8e91fef12
https://github.com/hibernate/hibernate-orm/commit/9f777e8d5b90a08f3391119...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/tool/schema/DefaultImportFileExecutionTest.java
Log Message:
-----------
HHH-18612 Avoid writing `import.sql` file to classpath
Compare: https://github.com/hibernate/hibernate-orm/compare/d0ddbb5d4731...9f777e8...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 days, 11 hours
[hibernate/hibernate-orm] 2e6902: HHH-17557 native queries return LocalDate and Loca...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 2e6902ddb2e2cc7786c2bcd78b79946a44d90e27
https://github.com/hibernate/hibernate-orm/commit/2e6902ddb2e2cc7786c2bcd...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-15 (Sun, 15 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/cfg/QuerySettings.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/DateJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JdbcTypeIndicators.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/TimeJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/TimestampJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/spi/TypeConfiguration.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NativeQueryResultTypeAutoDiscoveryTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NativeQueryWithDatetimesTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/DateArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/TimeArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/TimestampArrayTest.java
Log Message:
-----------
HHH-17557 native queries return LocalDate and LocalDateTime instead of java.sql types
... by default, with a setting to recover old behavior.
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
4 days, 14 hours
[hibernate/hibernate-orm] 52e185: HHH-15942 introduce QueryFlushMode for specifying ...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 52e185b1948dd341150eb1fe204a81d5f3253870
https://github.com/hibernate/hibernate-orm/commit/52e185b1948dd341150eb1f...
Author: Gavin <gavin(a)hibernate.org>
Date: 2024-09-15 (Sun, 15 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/FlushMode.java
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/annotations/FlushModeType.java
M hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQuery.java
M hibernate-core/src/main/java/org/hibernate/annotations/NamedQuery.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/QueryBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/models/annotations/internal/NamedNativeQueryAnnotation.java
M hibernate-core/src/main/java/org/hibernate/boot/models/annotations/internal/NamedQueryAnnotation.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/FlushModeTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/procedure/ProcedureCall.java
M hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java
M hibernate-core/src/main/java/org/hibernate/query/CommonQueryContract.java
M hibernate-core/src/main/java/org/hibernate/query/MutationQuery.java
M hibernate-core/src/main/java/org/hibernate/query/NativeQuery.java
M hibernate-core/src/main/java/org/hibernate/query/Query.java
A hibernate-core/src/main/java/org/hibernate/query/QueryFlushMode.java
M hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/hql/spi/SqmQueryImplementor.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractCommonQueryContract.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractSelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/SqmQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sql/spi/NativeQueryImplementor.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SqmSelectionQuery.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/spi/DelegatingSqmSelectionQueryImplementor.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NamedQueryFlushModeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NamedQueryQueryFlushModeTest.java
Log Message:
-----------
HHH-15942 introduce QueryFlushMode for specifying whether a query flushes or not
- replaces FlushModeType in the annotation package
- much less confusing when applied to a Query
* what do MANUAL and COMMIT mean for a Query?
* how is AUTO useful for a Query?
- also make Query.getHibernateFlushMode() obey its
documented semantics by returning the session
flush mode instead of null when unset
Commit: 2fc51bd7b2dc0a604aabbd812a8d5369287e13d4
https://github.com/hibernate/hibernate-orm/commit/2fc51bd7b2dc0a604aabbd8...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-15 (Sun, 15 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractCommonQueryContract.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractSelectionQuery.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
Log Message:
-----------
attempt to untangle some convoluted logic in Query hierarchy
Compare: https://github.com/hibernate/hibernate-orm/compare/5f8bf125fc9c...2fc51bd...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
4 days, 14 hours
[hibernate/hibernate-orm] 5f8bf1: HHH-18619 add support for @ForeignKey(options), @U...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 5f8bf125fc9c203d7c7259ab3c16b3f5e7f20213
https://github.com/hibernate/hibernate-orm/commit/5f8bf125fc9c203d7c7259a...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-14 (Sat, 14 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/IndexBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/MapBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ToOneBinder.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/AlterTableUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/CreateTableUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
M hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java
M hibernate-core/src/main/java/org/hibernate/mapping/DenormalizedTable.java
M hibernate-core/src/main/java/org/hibernate/mapping/Index.java
M hibernate-core/src/main/java/org/hibernate/mapping/ManyToOne.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/mapping/ToOne.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaMigrator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/ColumnDefinitions.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaCreatorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaTruncatorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardForeignKeyExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardIndexExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardSequenceExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardUniqueKeyExporter.java
A hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/options/OptionsTest.java
Log Message:
-----------
HHH-18619 add support for @ForeignKey(options), @UniqueConstraint(options), @Index(options)
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
5 days, 4 hours