[hibernate/hibernate-orm] 9ef62f: implement @where and @whereJoinTable
by Nathan Xu
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 9ef62f1fb89484a3f067a6de01c22dbd5cf38a37
https://github.com/hibernate/hibernate-orm/commit/9ef62f1fb89484a3f067a6d...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-04-24 (Fri, 24 Apr 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/Joinable.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
A hibernate-core/src/test/java/org/hibernate/orm/test/loading/filter/WhereJoinTableTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/loading/filter/WhereTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/criteria/filter/FilterBasicsTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/criteria/filter/FilterJoinTableTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/criteria/filter/WhereJoinTableTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/criteria/filter/WhereTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/filter/FilterBasicsTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/filter/WhereJoinTableTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/filter/WhereTests.java
M hibernate-core/src/test/java/org/hibernate/test/cfg/persister/GoofyPersisterClassProvider.java
Log Message:
-----------
implement @where and @whereJoinTable
4 years, 8 months
[hibernate/hibernate-orm] f91935: make use of Collections.addAll() for better perfor...
by Nathan Xu
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: f919358e0cfb619a49b57fc8f15ee6a189217020
https://github.com/hibernate/hibernate-orm/commit/f919358e0cfb619a49b57fc...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-04-24 (Fri, 24 Apr 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/BulkOperationCleanupAction.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
Log Message:
-----------
make use of Collections.addAll() for better performance
4 years, 8 months
[hibernate/hibernate-orm] 3bc332: Revert "HHH-13950 Apply the mass replace script to...
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 3bc33221f008a01fcaac3c36505657d38e516ced
https://github.com/hibernate/hibernate-orm/commit/3bc33221f008a01fcaac3c3...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-04-24 (Fri, 24 Apr 2020)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc
M hibernate-core/hibernate-core.gradle
M hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/BeanValidationEventListener.java
M hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/BeanValidationIntegrator.java
M hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/GroupsPerOperation.java
M hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/HibernateTraversableResolver.java
M hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/TypeSafeActivator.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/beanvalidation/BeanValidationTest.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/beanvalidation/CupHolder.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/beanvalidation/ValidTitle.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/beanvalidation/ValidatorFactory2PhaseInjectionTest.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/query/NativeQueryOrdinalParametersTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/Address.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/BeanValidationAutoTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/BeanValidationDisabledTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/BeanValidationGroupsTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/BeanValidationProvidedFactoryTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/Button.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/Color.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/CupHolder.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/DDLWithoutCallbackTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/Display.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/DisplayConnector.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/HibernateTraversableResolverTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/MergeNotNullCollectionTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/MergeNotNullCollectionUsingIdentityTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/MinMax.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/PowerSupply.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/Rock.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/Screen.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/Tv.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/TvOwner.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/embeddables/collection/EmbeddableWithOneToMany_HHH_8564_Test.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/A.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/B.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/onetomany/C.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/uniqueconstraint/House.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/cache/UninitializedAssociationsInCacheTest.java
M hibernate-core/src/test/java/org/hibernate/test/formulajoin/AnnotatedMaster.java
M hibernate-core/src/test_legacy/org/hibernate/test/criteria/mapsid/MapsIdOneToOneSelectTest.java
Log Message:
-----------
Revert "HHH-13950 Apply the mass replace script to switch to Jakarta Validation API"
This reverts commit 60abc8aa764929920478888d1d6b08b95df3846a.
Commit: 72f8c079e9ffa8e2e30c1f7afa5b998042ba1302
https://github.com/hibernate/hibernate-orm/commit/72f8c079e9ffa8e2e30c1f7...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-04-24 (Fri, 24 Apr 2020)
Changed paths:
M gradle/libraries.gradle
M hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/ValidationMode.java
M hibernate-core/src/test/java/org/hibernate/orm/test/onetoone/hhh9798/Shipment.java
Log Message:
-----------
Revert "HHH-13950 Update to Bean Validation 3 preview: Hibernate Validator 7.0.0.Alpha1"
This reverts commit b9a24f458c6e9c5331b2362f58eb36e5c244de5e.
Compare: https://github.com/hibernate/hibernate-orm/compare/01d3485970f8...72f8c07...
4 years, 8 months
[hibernate/hibernate-search] 69d403: HSEARCH-3896 Recreate projection orm hit-mapper at...
by Fabio Massimo
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 69d403cb42656312899be0a0fd9f8b4462c99157
https://github.com/hibernate/hibernate-search/commit/69d403cb42656312899b...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-04-23 (Thu, 23 Apr 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/context/impl/HibernateOrmLoadingContext.java
Log Message:
-----------
HSEARCH-3896 Recreate projection orm hit-mapper at each query invoke
Commit: df5408097ac4a06558b34905babd7b9db32450b4
https://github.com/hibernate/hibernate-search/commit/df5408097ac4a06558b3...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-04-23 (Thu, 23 Apr 2020)
Changed paths:
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/loading/context/impl/JavaBeanLoadingContext.java
Log Message:
-----------
HSEARCH-3896 Recreate projection javabean hit-mapper at each query invoke
This is not strictly necessary since the hit mapper is stateless, but I would change it to be conistent with the orm.
Commit: ac1ec6d1d694f313495724bec635a29e5c3ce93e
https://github.com/hibernate/hibernate-search/commit/ac1ec6d1d694f3134957...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-04-23 (Thu, 23 Apr 2020)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryBaseIT.java
Log Message:
-----------
HSEARCH-3896 Test reusing of query instance in mapper orm
Commit: d5f8c0c133934bb6f902550dbff8e2988f5efe89
https://github.com/hibernate/hibernate-search/commit/d5f8c0c133934bb6f902...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-04-23 (Thu, 23 Apr 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryRequestContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryRequestContext.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/context/spi/LoadingContext.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/stub/MapperEasyMockUtils.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/loading/context/impl/JavaBeanLoadingContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/context/impl/HibernateOrmLoadingContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/StubLoadingContext.java
Log Message:
-----------
HSEARCH-3896 Rename LoadingContext#createProjectionHitMapper
Commit: 54b95bc1bf21885b9d86f61aeae94b9e4bb6a2ac
https://github.com/hibernate/hibernate-search/commit/54b95bc1bf21885b9d86...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-04-23 (Thu, 23 Apr 2020)
Changed paths:
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/StubLoadingContext.java
Log Message:
-----------
HSEARCH-3896 Recreate projection stub hit-mapper at each query invoke
Compare: https://github.com/hibernate/hibernate-search/compare/9ea9ae8b5da4...54b9...
4 years, 8 months
[hibernate/hibernate-orm] 01d348: Add rollup() and cube() for group by clause
by Gavin King
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 01d3485970f86dcc5b0277fd94ecd55b88cd3a71
https://github.com/hibernate/hibernate-orm/commit/01d3485970f86dcc5b0277f...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2020-04-22 (Wed, 22 Apr 2020)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
Log Message:
-----------
Add rollup() and cube() for group by clause
This syntax is supported on at least DB2, Oracle, SQL Server, and
Postgres. It's not supported on MySQL.
4 years, 8 months