Branch: refs/heads/wip/6.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: f07c26339bd0b176bb48888dd7af3800a811aa9b
https://github.com/hibernate/hibernate-orm/commit/f07c26339bd0b176bb48888...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
M gradle/java-module.gradle
Log Message:
-----------
HHH-14199 fix the error when running 'setDataBase' gradle task
Commit: efa7e66c73069c6651d2cf906033fa0643ac4005
https://github.com/hibernate/hibernate-orm/commit/efa7e66c73069c6651d2cf9...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/event/service/internal/NewlyInstantiatdCollectionSkipDeleteOrphanTest.java
Log Message:
-----------
HHH-14178 Fix oracle test failures
Commit: e8b6bbbef43a65215fea9b788f050626bf4aa668
https://github.com/hibernate/hibernate-orm/commit/e8b6bbbef43a65215fea9b7...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/event/service/internal/NewlyInstantiatdCollectionSkipDeleteOrphanTest.java
Log Message:
-----------
HHH-14178 Fix Hana test failures
Commit: 162bc7d9dd671d6fc3c596a2ec29c469c1acb7b3
https://github.com/hibernate/hibernate-orm/commit/162bc7d9dd671d6fc3c596a...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/engine/query/spi/EntityGraphQueryHint.java
A
hibernate-core/src/test/java/org/hibernate/jpa/test/graphs/EntityGraphAttributeResolutionTest.java
Log Message:
-----------
HHH-14113 Entity Graph attribute resolution not based on selected entity
Commit: ea24abd75739db0546b2d4b190cfb650466eff4a
https://github.com/hibernate/hibernate-orm/commit/ea24abd75739db0546b2d4b...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-09-02 (Wed, 02 Sep 2020)
Changed paths:
M
tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/JpaDescriptorParser.java
Log Message:
-----------
HHH-9422 Metamodel Generator should close streams opened to persistence.xml and
referenced mapping files
Commit: 19af434b2124ef430bb762604d08868641b9f28d
https://github.com/hibernate/hibernate-orm/commit/19af434b2124ef430bb7626...
Author: Moritz Becker <moritz.becker(a)gmx.at>
Date: 2020-09-03 (Thu, 03 Sep 2020)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElementFactory.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/SelectClause.java
A
hibernate-core/src/test/java/org/hibernate/test/hql/FetchNonRootRelativeElementCollectionAndAssociationTest.java
Log Message:
-----------
HHH-13201 - do not set empty text on collection join parent without queryable
collection
Commit: d97db034b4ef8a998e47d782527ce38e88ddb36f
https://github.com/hibernate/hibernate-orm/commit/d97db034b4ef8a998e47d78...
Author: Moritz Becker <moritz.becker(a)gmx.at>
Date: 2020-09-03 (Thu, 03 Sep 2020)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/test/hql/FetchNonRootRelativeElementCollectionAndAssociationTest.java
Log Message:
-----------
HHH-13201 - reformat test
Commit: afd6818e5570e1ac25603faeb785baff41c6bd20
https://github.com/hibernate/hibernate-orm/commit/afd6818e5570e1ac25603fa...
Author: Moritz Becker <moritz.becker(a)gmx.at>
Date: 2020-09-03 (Thu, 03 Sep 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/SelectClause.java
Log Message:
-----------
HHH-13201 - mark local origin variable as final
Commit: 6365204c488eb2db1dbe52261a59a726e0fb425c
https://github.com/hibernate/hibernate-orm/commit/6365204c488eb2db1dbe522...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-09-03 (Thu, 03 Sep 2020)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/query/criteria/internal/FromImplementor.java
M
hibernate-core/src/main/java/org/hibernate/query/criteria/internal/QueryStructure.java
M
hibernate-core/src/main/java/org/hibernate/query/criteria/internal/path/AbstractFromImpl.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh13058/HHH13058Test.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh13058/Patient.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh13058/Site.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh13058/Task.java
Log Message:
-----------
HHH-13058 fix issue left join root cannot be replaced by correlated parent in subquery
Commit: 17d365ecf8965044227dc401f13fec86e3117e02
https://github.com/hibernate/hibernate-orm/commit/17d365ecf8965044227dc40...
Author: Jan-Willem Gmelig Meyling <jan-willem(a)youngmediaexperts.nl>
Date: 2020-09-04 (Fri, 04 Sep 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddableTypeImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/spi/EmbeddedTypeDescriptor.java
M hibernate-core/src/test/java/org/hibernate/test/cut/CompositeUserTypeTest.java
Log Message:
-----------
HHH-14198 - Expose CompositeUserTypes through JPA Metamodel
Composite User Types work like regular Composite Types (like Embeddable) in HQL. However,
because they cannot be represented in the JPA metamodel, libraries like [GraphQL for
JPA](https://github.com/jcrygier/graphql-jpa) or
[
Blaze-Persistence](https://persistence.blazebit.com/) cannot fully utilize them. In order
to make the composite property names available to these libraries, it would be nice to
optionally expose these attributes as embedded attributes. This pull request aims to make
that change and makes it configurable through a custom setting.
Composite User Types are a common solution for mapping composite interfaces. A common
example is for example `Money` from the Java Money API (JSR-354), for which composite user
types are implemented in [
Jadira](http://jadira.sourceforge.net/usertype-userguide.html).
I know Composite User Types are currently not consiered in Hibernate 6.x. See also
[
this](https://hibernate.zulipchat.com/#narrow/stream/132094-hibernate-orm...
Zulip thread. I am not sure if Hibernate 6.x will even have multi column types, which I
presume would be a requirement to even introduce Composite User types back at some point.
Usually Embeddables are a much easier, suitable mechanism for composite user types. But
Embeddables are not always a viable alternative, because Embeddables require the type to
be subclassed (as an interface cannot be mapped, and the type may not solely comprise
fields that can be mapped to a simple basic type). To deal with this exact problem,
`MonetaryAmounts` are still mapped as composite user type. There also have been
suggestions to the JPA Spec to consider `AttributeConverters` for Embeddables for
pracitcally the same purpose (which I think is going to be a mess of an implementation).
See:
https://github.com/eclipse-ee4j/jpa-api/issues/105
Anyways, regardless of whether this gets integrated in 5.x, I don't expect it to be
integrated in 6.x unless we also reintroduce Composite User Types. I am willing to
contribute Composite User Types for 6.x if people see benefit in it and think it can be
done in the first place.
Commit: 37a60ea8bb30fe3c9729a816196e3ef5fabe67e5
https://github.com/hibernate/hibernate-orm/commit/37a60ea8bb30fe3c9729a81...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElementFactory.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh14197/AbstractPersistent.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh14197/Department.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh14197/Employee.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh14197/HHH14197Test.java
Log Message:
-----------
HHH-14197 Criteria API doubly-nested subquery generates invalid SQL - missing subquery
root
Commit: 6cc63d9289e87fb7e8478489855d22a59fa936d9
https://github.com/hibernate/hibernate-orm/commit/6cc63d9289e87fb7e847848...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/jpa/test/graphs/EntityGraphAttributeResolutionTest.java
Log Message:
-----------
HHH-14113 Fix oracle test failure
Commit: 7f6ead80cce62c6b0b4ab264808a96064ea90cc8
https://github.com/hibernate/hibernate-orm/commit/7f6ead80cce62c6b0b4ab26...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh14197/Employee.java
Log Message:
-----------
HHH-14197 Fix MariaDB failing test
Commit: 8b938610cf141a39a109d6e9b705f73a699df20d
https://github.com/hibernate/hibernate-orm/commit/8b938610cf141a39a109d6e...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-09-08 (Tue, 08 Sep 2020)
Changed paths:
M gradle/java-module.gradle
M
hibernate-core/src/test/java/org/hibernate/event/service/internal/NewlyInstantiatdCollectionSkipDeleteOrphanTest.java
A
hibernate-core/src/test/java/org/hibernate/jpa/test/graphs/EntityGraphAttributeResolutionTest.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh13058/HHH13058Test.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh13058/Patient.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh13058/Site.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh13058/Task.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh14197/AbstractPersistent.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh14197/Department.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh14197/Employee.java
A
hibernate-core/src/test/java/org/hibernate/query/criteria/internal/hhh14197/HHH14197Test.java
A
hibernate-core/src/test/java/org/hibernate/test/hql/FetchNonRootRelativeElementCollectionAndAssociationTest.java
M
tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/xml/JpaDescriptorParser.java
Log Message:
-----------
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge
Compare:
https://github.com/hibernate/hibernate-orm/compare/8fe4b40ef8b8...8b93861...