[hibernate/hibernate-search] 5d4857: HSEARCH-3068 Support update outside transaction
by Fabio Massimo
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 5d4857585ff879221e330ebc6ac16082cfdf1470
https://github.com/hibernate/hibernate-search/commit/5d4857585ff879221e33...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateOrmListenerContextProvider.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapping.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
Log Message:
-----------
HSEARCH-3068 Support update outside transaction
Commit: 906ca726a9bf74e3bd6a42e2f8736258e44e4b83
https://github.com/hibernate/hibernate-search/commit/906ca726a9bf74e3bd6a...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingOutOfTransactionIT.java
Log Message:
-----------
HSEARCH-3068 Test update outside transaction
Commit: 2233d8e947f14895058be2606698112701139ce6
https://github.com/hibernate/hibernate-search/commit/2233d8e947f14895058b...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateOrmListenerContextProvider.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapping.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/SearchSessionWritePlanImpl.java
Log Message:
-----------
HSEARCH-3068 Support clear outside transaction
Commit: 293fb46dc45ec77a099290bb72e7f07e7a729d65
https://github.com/hibernate/hibernate-search/commit/293fb46dc45ec77a0992...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingOutOfTransactionIT.java
Log Message:
-----------
HSEARCH-3068 Test clear outside transaction
Compare: https://github.com/hibernate/hibernate-search/compare/d206b7ec3580...293f...
5 years, 4 months
[hibernate/hibernate-search] 0d4fa3: HSEARCH-3360 Make flush triggers the PojoWorkPlan#...
by Fabio Massimo
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 0d4fa312c2257be75cbb50fa08e1f4ab8a9d3c17
https://github.com/hibernate/hibernate-search/commit/0d4fa312c2257be75cbb...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingBasicIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/session/SearchSessionWritePlanBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/session/SearchSessionWritePlanPersistBatchIndexingIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
Log Message:
-----------
HSEARCH-3360 Make flush triggers the PojoWorkPlan#prepare
Commit: 1a2c2ee345565a0453746f3fbdba0bfb12bfce64
https://github.com/hibernate/hibernate-search/commit/1a2c2ee345565a045374...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/session/SearchSessionWritePlanBaseIT.java
Log Message:
-----------
HSEARCH-3360 Test session clear behavior
Commit: 3053c7d3b90a08ac52fd2b797cd63f2c34da75dd
https://github.com/hibernate/hibernate-search/commit/3053c7d3b90a08ac52fd...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingBasicIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/session/SearchSessionWritePlanBaseIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchIntegrator.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexedTypeWorkPlan.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkPlanImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoWorkPlan.java
Log Message:
-----------
HSEARCH-3360 Clear not processed works on session clean
Commit: 43d4896c44e3725aaad6932967eb26619c47d44f
https://github.com/hibernate/hibernate-search/commit/43d4896c44e3725aaad6...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/SearchSessionFlushIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchIntegrator.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkPlanImpl.java
Log Message:
-----------
HSEARCH-3360 Make auto-flush triggers the PojoWorkPlan#prepare
Commit: 91482c7f671300c73cf0337bc047a52e354f4c14
https://github.com/hibernate/hibernate-search/commit/91482c7f671300c73cf0...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
A integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/library/functional/LessMemoryEntityService.java
A integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/library/functional/LibraryFunctionalIT.java
Log Message:
-----------
HSEARCH-1350 Test flush clear and evict all on 1-N merge
Commit: ab39fbd3080f4c6073338c89c7e29bfbcd38b0c3
https://github.com/hibernate/hibernate-search/commit/ab39fbd3080f4c607333...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/nonregression/automaticindexing/FlushClearEvictAllIT.java
R integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/library/functional/LessMemoryEntityService.java
R integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/library/functional/LibraryFunctionalIT.java
Log Message:
-----------
HSEARCH-1350 Move flush-clear-evict test from showcases
Not squashing it with the previous commit, to have the possibility to recover it as it was.
Commit: 9caebd4a04636c92844e9e2fe14cc52643073e39
https://github.com/hibernate/hibernate-search/commit/9caebd4a04636c92844e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkPlanImpl.java
Log Message:
-----------
HSEARCH-3360 Throw exceptions on recursive work plan prepares
Commit: c33bfbe0e130e74eacd06693a5abde69b78292de
https://github.com/hibernate/hibernate-search/commit/c33bfbe0e130e74eacd0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
Log Message:
-----------
HSEARCH-3360 Ignore automatic flush events when ORM ignores them
Commit: d206b7ec3580c135291527b89317e26fa94c28a0
https://github.com/hibernate/hibernate-search/commit/d206b7ec3580c1352915...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingBridgeExplicitReindexingFunctionalIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
Log Message:
-----------
HSEARCH-3360 Comment filter isFlushRequired ignoring recursive test
Compare: https://github.com/hibernate/hibernate-search/compare/46c136667a99...d206...
5 years, 4 months
[hibernate/hibernate-orm] 19ac01: HHH-13591 Replaces simple uses of array iteration ...
by Sanne Grinovero
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 19ac013eeb666a45066b6adb23c05df80a0fe6bb
https://github.com/hibernate/hibernate-orm/commit/19ac013eeb666a45066b6ad...
Author: Carsten Hammer <carsten.hammer(a)t-online.de>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/CodeTemplates.java
M hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/cfg/ExternalSessionFactoryConfig.java
M hibernate-core/src/main/java/org/hibernate/cfg/IndexOrUniqueKeySecondPass.java
M hibernate-core/src/main/java/org/hibernate/engine/query/spi/HQLQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/NamedSQLQueryDefinition.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/IntoClause.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/TableBasedUpdateHandlerImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/cte/CteValuesListUpdateHandlerImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/inline/AbstractInlineIdsUpdateHandlerImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/Insert.java
M hibernate-core/src/main/java/org/hibernate/sql/InsertSelect.java
M hibernate-core/src/main/java/org/hibernate/sql/QueryJoinFragment.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/InformationExtractorJdbcDatabaseMetaDataImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/FumTest.java
M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/ImplicitCompositeKeyJoinTest.java
M hibernate-core/src/test/java/org/hibernate/test/subselectfetch/SubselectFetchCollectionFromBatchTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit4/ExtraAssertions.java
Log Message:
-----------
HHH-13591 Replaces simple uses of array iteration with a corresponding for-each loop
Commit: 4661efa468c11b63e992a1c7a84c959c1477033b
https://github.com/hibernate/hibernate-orm/commit/4661efa468c11b63e992a1c...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-20 (Tue, 20 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/CodeTemplates.java
M hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/cfg/ExternalSessionFactoryConfig.java
M hibernate-core/src/main/java/org/hibernate/cfg/IndexOrUniqueKeySecondPass.java
M hibernate-core/src/main/java/org/hibernate/engine/query/spi/HQLQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/NamedSQLQueryDefinition.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/IntoClause.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/TableBasedUpdateHandlerImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/cte/CteValuesListUpdateHandlerImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/inline/AbstractInlineIdsUpdateHandlerImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/Insert.java
M hibernate-core/src/main/java/org/hibernate/sql/InsertSelect.java
M hibernate-core/src/main/java/org/hibernate/sql/QueryJoinFragment.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/InformationExtractorJdbcDatabaseMetaDataImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/FumTest.java
M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/ImplicitCompositeKeyJoinTest.java
M hibernate-core/src/test/java/org/hibernate/test/subselectfetch/SubselectFetchCollectionFromBatchTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit4/ExtraAssertions.java
Log Message:
-----------
HHH-13591 Fixing formatting of previous patch
Compare: https://github.com/hibernate/hibernate-orm/compare/e0f40474296c...4661efa...
5 years, 4 months
[hibernate/hibernate-orm] e0f404: HHH-12993 Omit joining of superclass table when qu...
by Steve Ebersole
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: e0f40474296c44cc8ec5e36256d3e0ddf118c7b8
https://github.com/hibernate/hibernate-orm/commit/e0f40474296c44cc8ec5e36...
Author: Ladislav Kulhanek <ladislav.kulhanek(a)crossad-ni.com>
Date: 2019-08-19 (Mon, 19 Aug 2019)
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/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/JoinSequence.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/AbstractMapComponentNode.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/DotNode.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElementType.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromReferenceNode.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/ASTPrinter.java
A hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/ASTReferencedTablesPrinter.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/JoinProcessor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/TokenPrinters.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
M hibernate-core/src/test/java/org/hibernate/test/hql/HQLTest.java
A hibernate-core/src/test/java/org/hibernate/test/joinwithoutancestor/OmitAncestorJoinTest.java
A hibernate-core/src/test/java/org/hibernate/test/joinwithoutancestor/OmitAncestorJoinWhenCommonSecondaryTablePresentTest.java
A hibernate-core/src/test/java/org/hibernate/test/joinwithoutancestor/OmitAncestorJoinWhenSecondaryTablePresentTest.java
A hibernate-core/src/test/java/org/hibernate/test/joinwithoutancestor/OmitAncestorTestCase.java
A hibernate-core/src/test/java/org/hibernate/test/joinwithoutancestor/SqlAsserts.java
Log Message:
-----------
HHH-12993 Omit joining of superclass table when querying subclass only
5 years, 4 months
[hibernate/hibernate-orm] eb675e: HHH-13587 Review formatting and logging style of S...
by Sanne Grinovero
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: eb675e1c7f27f9a086af5ed935d0d41d2afb817a
https://github.com/hibernate/hibernate-orm/commit/eb675e1c7f27f9a086af5ed...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-13587 Review formatting and logging style of StatefulPersistenceContext
Commit: 5bbf417c523c938899a66ecf7b148b41fa880bb7
https://github.com/hibernate/hibernate-orm/commit/5bbf417c523c938899a66ec...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/AbstractEntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ForeignKeys.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultDeleteEventListener.java
Log Message:
-----------
HHH-13587 Allocate StatefulPersistenceContext#nullifiableEntityKeys lazily
Commit: aae670b9b33dca97ac9624eac3e62ca23532663c
https://github.com/hibernate/hibernate-orm/commit/aae670b9b33dca97ac9624e...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-13587 Allocate StatefulPersistenceContext#nullAssociations lazily
Commit: 0538b97d6a087f77e2ca51248ef3317c6f0973a8
https://github.com/hibernate/hibernate-orm/commit/0538b97d6a087f77e2ca512...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-13587 Allocate StatefulPersistenceContext#naturalIdXrefDelegate lazily
Commit: a11359524b5325834c4c2ac673f15a7a7004d9a0
https://github.com/hibernate/hibernate-orm/commit/a11359524b5325834c4c2ac...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-13587 Lazily initialize ConcurrentReferenceHashMap proxiesByKey in StatefulPersistenceContext
Commit: 1101727a4f7584944500d35f7105393c24f7c23d
https://github.com/hibernate/hibernate-orm/commit/1101727a4f7584944500d35...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-13587 StatefulPersistenceContext#unownedCollections was almost fully lazy already
Commit: 0d10174c236d4d73d7f64893819687a663ce1be7
https://github.com/hibernate/hibernate-orm/commit/0d10174c236d4d73d7f6489...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-13587 Make StatefulPersistenceContext#parentsByChild a lazily initialized IdentityHashMap
Commit: 3b30c60ce3e81b23c3eea21018d5831b8bb4c5ad
https://github.com/hibernate/hibernate-orm/commit/3b30c60ce3e81b23c3eea21...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractFlushingEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultAutoFlushEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEventListener.java
M hibernate-core/src/main/java/org/hibernate/stat/internal/SessionStatisticsImpl.java
M hibernate-core/src/test/java/org/hibernate/test/flush/TestAutoFlushBeforeQueryExecution.java
Log Message:
-----------
HHH-13587 Introduce SPI method PersistenceContext#getCollectionEntriesSize()
Commit: 690a8d55207c2ca5a195508daaeac675ef93c54e
https://github.com/hibernate/hibernate-orm/commit/690a8d55207c2ca5a195508...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractFlushingEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/EvictVisitor.java
M hibernate-core/src/main/java/org/hibernate/internal/util/collections/IdentityMap.java
Log Message:
-----------
HHH-13587 Make StatefulPersistenceContext#collectionEntries also lazily initialized
Commit: dbbc24c2e16bc99606aaf7e17fc3c1b8cabf31c5
https://github.com/hibernate/hibernate-orm/commit/dbbc24c2e16bc99606aaf7e...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-13587 Make StatefulPersistenceContext#nonlazyCollections a lazily initialized field
Commit: 05b888e0c0a66522ea921a808a801a3f45172b5b
https://github.com/hibernate/hibernate-orm/commit/05b888e0c0a66522ea921a8...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-13587 Make StatefulPersistenceContext#arrayHolders lazily initialized as well
Commit: 7531ed793a9ab08c18f10491af293274f018d691
https://github.com/hibernate/hibernate-orm/commit/7531ed793a9ab08c18f1049...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-13587 Make StatefulPersistenceContext#entitiesByUniqueKey lazily initialized as well
Commit: da847f4b574c3b21eb8ddd8d12b77011e2f63a53
https://github.com/hibernate/hibernate-orm/commit/da847f4b574c3b21eb8ddd8...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-19 (Mon, 19 Aug 2019)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/collection/multisession/MultipleSessionCollectionWarningTest.java
Log Message:
-----------
HHH-13587 Avoid using deprecated PersistenceContext#getCollectionEntries in tests
Compare: https://github.com/hibernate/hibernate-orm/compare/d06588814029...da847f4...
5 years, 4 months