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