[hibernate/hibernate-orm] 9684af: HHH-11495 Reduce criteria overhead by adding an im...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 9684afda76e9a1d7c700d8cba6a076a546aa9a3c
https://github.com/hibernate/hibernate-orm/commit/9684afda76e9a1d7c700d8c...
Author: Carlos Aristu <carlos.aristu(a)openbravo.com>
Date: 2018-07-03 (Tue, 03 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetamodelImpl.java
Log Message:
-----------
HHH-11495 Reduce criteria overhead by adding an implementors cache
Commit: e17491a19874e53718e33203ac17b7c0ff38d946
https://github.com/hibernate/hibernate-orm/commit/e17491a19874e53718e3320...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-03 (Tue, 03 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetamodelImpl.java
Log Message:
-----------
HHH-11495 Return a defensive copy of the array
Commit: 7067b191b7380b332fd9f2fb80ef0bd15286c99f
https://github.com/hibernate/hibernate-orm/commit/7067b191b7380b332fd9f2f...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-03 (Tue, 03 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetamodelImpl.java
Log Message:
-----------
HHH-11495 Change the logic to be more efficient
We are optimistic about our chances to find the elements in the cache,
thus avoiding calling computeIfAbsent() if not necessary.
We only store in the cache the elements for which we have a proper
class, thus avoiding filling the cache with random values.
Commit: 6c5e71fc40a290f2689581ca04fc548b0ed63f65
https://github.com/hibernate/hibernate-orm/commit/6c5e71fc40a290f2689581c...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-07-03 (Tue, 03 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetamodelImpl.java
Log Message:
-----------
HHH-11495 Only cache values if the class is mapped somehow
Commit: 600164869b0eb8f50289e21092c68c95631a4a1d
https://github.com/hibernate/hibernate-orm/commit/600164869b0eb8f50289e21...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-07-03 (Tue, 03 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetamodelImpl.java
Log Message:
-----------
HHH-11495 Add a missing @Override
Commit: 212d8c01e593f557de2f7b7303fb416b76f3b7d0
https://github.com/hibernate/hibernate-orm/commit/212d8c01e593f557de2f7b7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-07-03 (Tue, 03 Jul 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Metamodel.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetamodelImpl.java
Log Message:
-----------
HHH-11495 Update the javadoc of Metamodel#getImplementors to reflect the actual implementation
In particular, the actual implementations may not return all persisted
subtypes if the given type is persisted and "explicit polymorphism" is
enabled. So this really is more about HQL queries than about a class
hierarchy.
Compare: https://github.com/hibernate/hibernate-orm/compare/35cd3a1c387f...212d8c0...
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 5 months
[hibernate/hibernate-orm] 6dea02: HHH-12754 - Fix broken envers tests on other datab...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 6dea02bac5f73abbea451dae7c2180236dc3d6cb
https://github.com/hibernate/hibernate-orm/commit/6dea02bac5f73abbea451da...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2018-07-03 (Tue, 03 Jul 2018)
Changed paths:
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/ListEqualsHashCodeTest.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/ListNoEqualsHashCodeTest.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/MapEqualsHashCodeTest.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/MapNoEqualsHashCodeTest.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/SetEqualsHashCodeTest.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/collection/embeddable/SetNoEqualsHashCodeTest.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/UnspecifiedEnumTypeTest.java
Log Message:
-----------
HHH-12754 - Fix broken envers tests on other database platforms.
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 5 months
[hibernate/hibernate-orm] 9314d2: HHH-12350 - User Guide documentation for @Any is t...
by GitHub
Branch: refs/heads/5.2
Home: https://github.com/hibernate/hibernate-orm
Commit: 9314d251064ba15144644969bac756780e6dca18
https://github.com/hibernate/hibernate-orm/commit/9314d251064ba1514464496...
Author: Vlad Mihalcea <mihalcea.vlad(a)gmail.com>
Date: 2018-07-03 (Tue, 03 Jul 2018)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/domain/basic_types.adoc
A documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-any-persist-example.sql
R documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-any-persistence-example.sql
A documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-any-query-example.sql
A documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-many-to-any-persist-example.sql
R documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-many-to-any-persistence-example.sql
A documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-many-to-any-query-example.sql
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/AnyTest.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/IntegerProperty.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/ManyToAnyTest.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/PropertyHolder.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/PropertyRepository.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/StringProperty.java
Log Message:
-----------
HHH-12350 - User Guide documentation for @Any is too verbose
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 5 months
[hibernate/hibernate-orm] 58613c: HHH-12350 - User Guide documentation for @Any is t...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 58613cba7364862176a0325fa2f4431c069f208b
https://github.com/hibernate/hibernate-orm/commit/58613cba7364862176a0325...
Author: Vlad Mihalcea <mihalcea.vlad(a)gmail.com>
Date: 2018-07-03 (Tue, 03 Jul 2018)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/domain/basic_types.adoc
A documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-any-persist-example.sql
R documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-any-persistence-example.sql
A documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-any-query-example.sql
A documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-many-to-any-persist-example.sql
R documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-many-to-any-persistence-example.sql
A documentation/src/main/asciidoc/userguide/chapters/domain/extras/basic/mapping-column-many-to-any-query-example.sql
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/AnyTest.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/IntegerProperty.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/ManyToAnyTest.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/PropertyHolder.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/PropertyRepository.java
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/any/StringProperty.java
Log Message:
-----------
HHH-12350 - User Guide documentation for @Any is too verbose
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 5 months