[hibernate/hibernate-search] 4b76ab: HSEARCH-2868 Fix typos (missing "final" keywords)
by GitHub
Branch: refs/heads/5.7
Home: https://github.com/hibernate/hibernate-search
Commit: 4b76ab6a8926a6714a7d00f679a0ccb9aaf5e799
https://github.com/hibernate/hibernate-search/commit/4b76ab6a8926a6714a7d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/engine/optimizations/CollectionUpdateEventTest.java
Log Message:
-----------
HSEARCH-2868 Fix typos (missing "final" keywords)
Commit: 02fddaf81deee536a2015149042b8e2b31fffeca
https://github.com/hibernate/hibernate-search/commit/02fddaf81deee536a201...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M orm/src/main/java/org/hibernate/search/event/impl/FullTextIndexEventListener.java
Log Message:
-----------
HSEARCH-2868 Do not ignore updates on un-initialized collections in FullTextIndexEventListener
Some collections, such as the reverse side of an unordered,
duplicate-allowing association, may not be initialized upon adds, and in
those cases we may still want to trigger reindexing, provided the
collection is used to generate an index field.
This fixes HSEARCH-782 in a (hopefully) more correct way. The original
fix added an "if" skipping reindexing when a collection being updated
wasn't initialized, but this is incorrect, as the collection may still
affect the indexed form of the entity (the collection may not be
initialized but still have pending updates in an internal queue).
The new fix removes this skipping, and simply does not add ContainedIn
collection roles to the list of collection roles used when generating
documents from an entity.
Commit: c5c9b0af6d2b0c8cfb7bf374775adef426259703
https://github.com/hibernate/hibernate-search/commit/c5c9b0af6d2b0c8cfb7b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
A orm/src/test/java/org/hibernate/search/test/engine/optimizations/BridgedReverseBagCollectionUpdateEventTest.java
Log Message:
-----------
HSEARCH-2868 Test that adding elements to a reverse persistent bag triggers reindexing
Or, more acurately, test that adding elements to a persistent bag representing the
reverse side of an association (which shouldn't initialize the bag) will trigger
reindexing if that bag is used in a field.
Compare: https://github.com/hibernate/hibernate-search/compare/9d72c31943f1...c5c9...
7 years, 4 months
[hibernate/hibernate-search] 1487cb: HSEARCH-2868 Fix typos (missing "final" keywords)
by GitHub
Branch: refs/heads/5.6
Home: https://github.com/hibernate/hibernate-search
Commit: 1487cb693576b436d491d22f07c4f6cfdd446d73
https://github.com/hibernate/hibernate-search/commit/1487cb693576b436d491...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/engine/optimizations/CollectionUpdateEventTest.java
Log Message:
-----------
HSEARCH-2868 Fix typos (missing "final" keywords)
Commit: ae5a70f6959a5956e1d44b62b0ff8a734a1c24ac
https://github.com/hibernate/hibernate-search/commit/ae5a70f6959a5956e1d4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M orm/src/main/java/org/hibernate/search/event/impl/FullTextIndexEventListener.java
Log Message:
-----------
HSEARCH-2868 Do not ignore updates on un-initialized collections in FullTextIndexEventListener
Some collections, such as the reverse side of an unordered,
duplicate-allowing association, may not be initialized upon adds, and in
those cases we may still want to trigger reindexing, provided the
collection is used to generate an index field.
This fixes HSEARCH-782 in a (hopefully) more correct way. The original
fix added an "if" skipping reindexing when a collection being updated
wasn't initialized, but this is incorrect, as the collection may still
affect the indexed form of the entity (the collection may not be
initialized but still have pending updates in an internal queue).
The new fix removes this skipping, and simply does not add ContainedIn
collection roles to the list of collection roles used when generating
documents from an entity.
Commit: b509b47975e73e4c4abc674c143247306433fe34
https://github.com/hibernate/hibernate-search/commit/b509b47975e73e4c4abc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
A orm/src/test/java/org/hibernate/search/test/engine/optimizations/BridgedReverseBagCollectionUpdateEventTest.java
Log Message:
-----------
HSEARCH-2868 Test that adding elements to a reverse persistent bag triggers reindexing
Or, more acurately, test that adding elements to a persistent bag representing the
reverse side of an association (which shouldn't initialize the bag) will trigger
reindexing if that bag is used in a field.
Commit: 3bc9c2ae9b5678389d1475402f15bba0960e7009
https://github.com/hibernate/hibernate-search/commit/3bc9c2ae9b5678389d14...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/engine/optimizations/BridgedReverseBagCollectionUpdateEventTest.java
Log Message:
-----------
HSEARCH-2868 Modify backport to be compatible with Hibernate ORM 5.1
Compare: https://github.com/hibernate/hibernate-search/compare/98a4e7a1b8cd...3bc9...
7 years, 4 months
[hibernate/hibernate-search] c333dd: HSEARCH-2868 Fix typos (missing "final" keywords)
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: c333dd609c3d9c3a1f5de14b7749cbbfced2482a
https://github.com/hibernate/hibernate-search/commit/c333dd609c3d9c3a1f5d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/engine/optimizations/CollectionUpdateEventTest.java
Log Message:
-----------
HSEARCH-2868 Fix typos (missing "final" keywords)
Commit: a8b0c7ba85d7b2a72c588d8eeee1641261a4515f
https://github.com/hibernate/hibernate-search/commit/a8b0c7ba85d7b2a72c58...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M orm/src/main/java/org/hibernate/search/event/impl/FullTextIndexEventListener.java
Log Message:
-----------
HSEARCH-2868 Do not ignore updates on un-initialized collections in FullTextIndexEventListener
Some collections, such as the reverse side of an unordered,
duplicate-allowing association, may not be initialized upon adds, and in
those cases we may still want to trigger reindexing, provided the
collection is used to generate an index field.
This fixes HSEARCH-782 in a (hopefully) more correct way. The original
fix added an "if" skipping reindexing when a collection being updated
wasn't initialized, but this is incorrect, as the collection may still
affect the indexed form of the entity (the collection may not be
initialized but still have pending updates in an internal queue).
The new fix removes this skipping, and simply does not add ContainedIn
collection roles to the list of collection roles used when generating
documents from an entity.
Commit: b03b5af32e55e6383efa89d26311f53c7cb92a52
https://github.com/hibernate/hibernate-search/commit/b03b5af32e55e6383efa...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
A orm/src/test/java/org/hibernate/search/test/engine/optimizations/BridgedReverseBagCollectionUpdateEventTest.java
Log Message:
-----------
HSEARCH-2868 Test that adding elements to a reverse persistent bag triggers reindexing
Or, more acurately, test that adding elements to a persistent bag representing the
reverse side of an association (which shouldn't initialize the bag) will trigger
reindexing if that bag is used in a field.
Compare: https://github.com/hibernate/hibernate-search/compare/f41399e54765...b03b...
7 years, 4 months
[hibernate/hibernate-orm] e8441e: HHH-11944 Fix added but not implemented delegating...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: e8441e5313f52c563d1ab4573144b766bb8ff19d
https://github.com/hibernate/hibernate-orm/commit/e8441e5313f52c563d1ab45...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
Log Message:
-----------
HHH-11944 Fix added but not implemented delegating methods
Commit: 626c8abc714d47ec54712f52ba92f39f6abcc66f
https://github.com/hibernate/hibernate-orm/commit/626c8abc714d47ec54712f5...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryBuilder.java
Log Message:
-----------
HHH-11944 Add missing methods to AbstractDelegatingSessionFactoryBuilder
Commit: 3620e1e47e9f9597e86a0e0d7b8a873379f1ee54
https://github.com/hibernate/hibernate-orm/commit/3620e1e47e9f9597e86a0e0...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
Log Message:
-----------
HHH-11944 The getDelegate() method here is the method from EntityManager
It should not return the delegate but the current Session impl proper.
The name is a bit misleading but it comes from JPA so we cannot do
anything about it.
Commit: 123ef45975e8d695af047bb466a390447e113992
https://github.com/hibernate/hibernate-orm/commit/123ef45975e8d695af047bb...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuilderImplementor.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryBuilder.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/AbstractDelegatingSessionBuilder.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/AbstractDelegatingSessionBuilderImplementor.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/AbstractDelegatingSharedSessionBuilder.java
Log Message:
-----------
HHH-11944 Make the AbstractDelegatingSessionBuilder hierarchy generic
Commit: 08cbe1a33f64d79bc1c95dcb3aa53a4f0920bfaf
https://github.com/hibernate/hibernate-orm/commit/08cbe1a33f64d79bc1c95dc...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
Log Message:
-----------
HHH-11944 Fix typo in comment
Commit: 13bb0a3f220d52f634cd19a9fac4afbf1d73c01b
https://github.com/hibernate/hibernate-orm/commit/13bb0a3f220d52f634cd19a...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuilderImplementor.java
Log Message:
-----------
HHH-11944 Add missing methods to delegating class
Commit: 8de187594dd5283278fcf1ca2bafbbbebe3ed7bf
https://github.com/hibernate/hibernate-orm/commit/8de187594dd5283278fcf1c...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/boot/spi/delegation/TestDelegatingMetadata.java
A hibernate-core/src/test/java/org/hibernate/boot/spi/delegation/TestDelegatingMetadataBuilderImplementor.java
A hibernate-core/src/test/java/org/hibernate/boot/spi/delegation/TestDelegatingMetadataBuildingOptions.java
A hibernate-core/src/test/java/org/hibernate/boot/spi/delegation/TestDelegatingSessionFactoryBuilder.java
A hibernate-core/src/test/java/org/hibernate/boot/spi/delegation/TestDelegatingSessionFactoryOptions.java
A hibernate-core/src/test/java/org/hibernate/engine/spi/delegation/TestDelegatingSessionBuilder.java
A hibernate-core/src/test/java/org/hibernate/engine/spi/delegation/TestDelegatingSessionBuilderImplementor.java
A hibernate-core/src/test/java/org/hibernate/engine/spi/delegation/TestDelegatingSharedSessionBuilder.java
Log Message:
-----------
HHH-11944 Add test classes for delegating classes
Commit: de1642ba93370106db3d2df7a19ae8f62a1746c6
https://github.com/hibernate/hibernate-orm/commit/de1642ba93370106db3d2df...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryBuilderImplementor.java
A hibernate-core/src/test/java/org/hibernate/boot/spi/delegation/TestDelegatingSessionFactoryBuilderImplementor.java
Log Message:
-----------
HHH-11944 Add AbstractDelegatingSessionFactoryBuilderImplementor
This is missing from the set of delegating classes available.
Commit: 12dd8522bebcbeaa2ea7cac13a4b44d9e6a8e4a7
https://github.com/hibernate/hibernate-orm/commit/12dd8522bebcbeaa2ea7cac...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
Log Message:
-----------
HHH-11944 Fix preexisting typos in log messages
Commit: 9fd9f623cb31925afe15f2e1629bba14c4e91e51
https://github.com/hibernate/hibernate-orm/commit/9fd9f623cb31925afe15f2e...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadata.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuilderImplementor.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuildingOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryBuilderImplementor.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/AbstractDelegatingSessionBuilder.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/AbstractDelegatingSessionBuilderImplementor.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/AbstractDelegatingSharedSessionBuilder.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
Log Message:
-----------
HHH-11944 Rename getDelegate() methods to delegate() following a
discussion with Steve.
They are all new in 5.2.11 so it shouldn't raise any compatibility
issues.
Note that we still have a getDelegate() method in
SessionDelegatorBaseImpl as it is the one coming from EntityManager.
Commit: 1e25a1a99b9317421430eebdc517f400aeb13c25
https://github.com/hibernate/hibernate-orm/commit/1e25a1a99b9317421430eeb...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/query/spi/NativeQueryInterpreter.java
M hibernate-core/src/main/java/org/hibernate/engine/query/spi/QueryPlanCache.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-11956 Add createCustomLoader() to the NativeQueryInterpreter contract
Compare: https://github.com/hibernate/hibernate-orm/compare/5feff3b2c633...1e25a1a...
7 years, 5 months
[hibernate/hibernate-search] 3d6a99: HSEARCH-2862 Add more information to the Elasticse...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 3d6a999ce815fcbf540747d2dafc36c3bdf3a34c
https://github.com/hibernate/hibernate-search/commit/3d6a999ce815fcbf5407...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-08-30 (Wed, 30 Aug 2017)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/DefaultElasticsearchClient.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
M elasticsearch/src/test/resources/log4j.properties
M integrationtest/elasticsearch/src/test/resources/log4j.properties
Log Message:
-----------
HSEARCH-2862 Add more information to the Elasticsearch request logs
And add a less verbose mode (DEBUG) to not show the request/response
body.
Commit: c5fc0c718428971a595c333e1f615d4fe6fdb27d
https://github.com/hibernate/hibernate-search/commit/c5fc0c718428971a595c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-08-30 (Wed, 30 Aug 2017)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/ElasticsearchEnvironment.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/DefaultElasticsearchClient.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/DefaultElasticsearchClientFactory.java
R elasticsearch/src/main/java/org/hibernate/search/elasticsearch/dialect/impl/DialectIndependentGsonProvider.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/dialect/impl/ElasticsearchDialect.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/dialect/impl/es2/Elasticsearch2Dialect.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/dialect/impl/es50/Elasticsearch50Dialect.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/gson/impl/DefaultGsonProvider.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/gson/impl/GsonProvider.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/DefaultElasticsearchService.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/ElasticsearchJsonObjectFormatter.java
R elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/ElasticsearchJsonObjectIterableFormatter.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/ElasticsearchRequestFormatter.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/ElasticsearchResponseFormatter.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/util/impl/JsonLogHelper.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/work/impl/SearchWork.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/DefaultElasticsearchServiceTest.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/GsonStreamedEncodingTest.java
M integrationtest/elasticsearch/src/test/resources/hibernate.properties
M integrationtest/elasticsearch/src/test/resources/log4j.properties
M integrationtest/elasticsearch/src/test/resources/test-defaults.properties
Log Message:
-----------
HSEARCH-2862 Add a configuration option to enable or disable JSON pretty-printing in logs
Commit: f41399e54765ad8e42e342364338fd9be90f67b7
https://github.com/hibernate/hibernate-search/commit/f41399e54765ad8e42e3...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2017-09-01 (Fri, 01 Sep 2017)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/DefaultElasticsearchClient.java
Log Message:
-----------
HSEARCH-2862 Avoid taking timings if we're not going to use them
Compare: https://github.com/hibernate/hibernate-search/compare/58b82c1397e0...f413...
7 years, 5 months