Hibernate SVN: r21020 - core/patches/hibernate-3.3.2.GA_CP04_JBPAPP-8371/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/timestamp.
by hibernate-commits@lists.jboss.org
Author: alessandrolt
Date: 2012-03-08 11:06:25 -0500 (Thu, 08 Mar 2012)
New Revision: 21020
Modified:
core/patches/hibernate-3.3.2.GA_CP04_JBPAPP-8371/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/timestamp/TimestampsRegionImpl.java
Log:
JBPAPP-8371 - the revision 17811 of BasicRegionAdapter (which is parent of TimestampsRegionImpl) added itself as cache listener by the line 102 (this.jbcCache.addCacheListener(this)) in its constructor. As TimestampsRegionImpl calls its parent construtor, the listener is initialized and the event "nodeModified" is called, but the localcache attribute was not initialized yet, so a NPE is throwed. A simple NULL check avoids that
Modified: core/patches/hibernate-3.3.2.GA_CP04_JBPAPP-8371/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/timestamp/TimestampsRegionImpl.java
===================================================================
--- core/patches/hibernate-3.3.2.GA_CP04_JBPAPP-8371/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/timestamp/TimestampsRegionImpl.java 2012-03-08 15:04:29 UTC (rev 21019)
+++ core/patches/hibernate-3.3.2.GA_CP04_JBPAPP-8371/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/timestamp/TimestampsRegionImpl.java 2012-03-08 16:06:25 UTC (rev 21020)
@@ -160,7 +160,7 @@
Fqn fqn = event.getFqn();
Fqn regFqn = getRegionFqn();
- if (fqn.size() == regFqn.size() + 1 && fqn.isChildOf(regFqn)) {
+ if (localCache != null && fqn.size() == regFqn.size() + 1 && fqn.isChildOf(regFqn)) {
Object key = fqn.get(regFqn.size());
localCache.put(key, event.getData().get(ITEM));
}
12 years, 9 months
Hibernate SVN: r21019 - core/patches.
by hibernate-commits@lists.jboss.org
Author: alessandrolt
Date: 2012-03-08 10:04:29 -0500 (Thu, 08 Mar 2012)
New Revision: 21019
Added:
core/patches/hibernate-3.3.2.GA_CP04_JBPAPP-8371/
Log:
JBPAPP-8371: Creating isolated branch
12 years, 9 months
[hibernate/hibernate-search] 8ea924: Improve toString on MaskedProperty to help debuggi...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 8ea9243aefb47fe51e8ee1a7b2b06973148b8dbe
https://github.com/hibernate/hibernate-search/commit/8ea9243aefb47fe51e8e...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-search-engine/src/main/java/org/hibernate/search/util/configuration/impl/MaskedProperty.java
Log Message:
-----------
Improve toString on MaskedProperty to help debugging
Commit: 8c99ad06af7d33875c6a299478e949689f7bf683
https://github.com/hibernate/hibernate-search/commit/8c99ad06af7d33875c6a...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-search-documentation/src/main/docbook/en-US/modules/further-reading.xml
Log Message:
-----------
wording improvements in concluding chapter
Commit: e9225b0252d6965129d2df8ad32914a68c2806e3
https://github.com/hibernate/hibernate-search/commit/e9225b0252d6965129d2...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/AddWorkDelegate.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/DeleteExtWorkDelegate.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/LuceneWorkVisitor.java
A hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/UpdateExtWorkDelegate.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/UpdateWorkDelegate.java
Log Message:
-----------
HSEARCH-1028 Use index update operations when possible
Commit: 3f21a503acb767c9acfc4af1efd1438391ea1b5b
https://github.com/hibernate/hibernate-search/commit/3f21a503acb767c9acfc...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/AbstractWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/LuceneWorkVisitor.java
M hibernate-search-engine/src/main/java/org/hibernate/search/store/Workspace.java
Log Message:
-----------
HSEARCH-1028 Have the Workspace tell if update operations can be perform with single term
Commit: 6c78186c5f61babb5b241b37d92a7c7421e32337
https://github.com/hibernate/hibernate-search/commit/6c78186c5f61babb5b24...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/blackhole/BlackHoleBackendQueueProcessor.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/jgroups/JGroupsBackendQueueProcessor.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/jms/JMSBackendQueueProcessor.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/AbstractWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/LuceneBackendQueueProcessor.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/LuceneBackendResources.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/spi/BackendQueueProcessor.java
M hibernate-search-engine/src/main/java/org/hibernate/search/indexes/impl/DirectoryBasedIndexManager.java
Log Message:
-----------
HSEARCH-1028 Reconfigure backend resources on the fly
Commit: 9e5ead1790680410980dd35227fc2322d86b3494
https://github.com/hibernate/hibernate-search/commit/9e5ead1790680410980d...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-search-engine/src/main/java/org/hibernate/search/Environment.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/AbstractWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/ExclusiveIndexWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/NRTWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/SharedIndexWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/WorkspaceFactory.java
M hibernate-search-engine/src/main/java/org/hibernate/search/indexes/impl/CommonPropertiesParse.java
Log Message:
-----------
HSEARCH-1028 Provide an option to disable the optimization
Commit: 67aed24bc878f5bfe52aca9e01c0a60fdb558a37
https://github.com/hibernate/hibernate-search/commit/67aed24bc878f5bfe52a...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
A hibernate-search-orm/src/test/java/org/hibernate/search/test/engine/optimizations/LeakingOptimizer.java
A hibernate-search-orm/src/test/java/org/hibernate/search/test/engine/optimizations/UpdateOperationsTest.java
Log Message:
-----------
HSEARCH-1028 Create test to verify update operations
Commit: 3f1050f6eb4867da083b16411e8173d3dfd3b4b5
https://github.com/hibernate/hibernate-search/commit/3f1050f6eb4867da083b...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/AbstractWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/ExclusiveIndexWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/LuceneBackendQueueProcessor.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/NRTWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/SharedIndexWorkspaceImpl.java
M hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/lucene/WorkspaceFactory.java
M hibernate-search-engine/src/main/java/org/hibernate/search/cfg/spi/SearchConfiguration.java
M hibernate-search-engine/src/main/java/org/hibernate/search/impl/ImmutableSearchFactory.java
M hibernate-search-engine/src/main/java/org/hibernate/search/impl/IncrementalSearchConfiguration.java
M hibernate-search-engine/src/main/java/org/hibernate/search/impl/MutableSearchFactory.java
M hibernate-search-engine/src/main/java/org/hibernate/search/impl/MutableSearchFactoryState.java
M hibernate-search-engine/src/main/java/org/hibernate/search/impl/ReflectionReplacingSearchConfiguration.java
M hibernate-search-engine/src/main/java/org/hibernate/search/indexes/impl/CommonPropertiesParse.java
M hibernate-search-engine/src/main/java/org/hibernate/search/indexes/impl/NRTIndexManager.java
M hibernate-search-engine/src/main/java/org/hibernate/search/spi/SearchFactoryBuilder.java
M hibernate-search-engine/src/main/java/org/hibernate/search/spi/WorkerBuildContext.java
M hibernate-search-engine/src/main/java/org/hibernate/search/spi/internals/SearchFactoryState.java
M hibernate-search-engine/src/test/java/org/hibernate/search/test/util/ManualConfiguration.java
M hibernate-search-engine/src/test/java/org/hibernate/search/test/util/RamIndexManager.java
M hibernate-search-orm/src/main/java/org/hibernate/search/cfg/impl/SearchConfigurationFromHibernateCore.java
Log Message:
-----------
HSEARCH-1028 Introduce a global option in SearchConfiguration to specify the default for Environment.INDEX_METADATA_COMPLETE
Commit: ef38bef5a69c56c97724bf189d599e4516815aff
https://github.com/hibernate/hibernate-search/commit/ef38bef5a69c56c97724...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-search-engine/src/main/java/org/hibernate/search/impl/MutableSearchFactoryState.java
M hibernate-search-engine/src/main/java/org/hibernate/search/spi/SearchFactoryBuilder.java
A hibernate-search-engine/src/test/java/org/hibernate/search/test/configuration/TransactionsExpectedTest.java
M hibernate-search-engine/src/test/java/org/hibernate/search/test/util/ManualConfiguration.java
Log Message:
-----------
HSEARCH-1055 Configuration setting isTransactionManagerExpected() is not applied
Commit: 0c26aaff7a2162aa35a3b644e59c54341c8a4cc8
https://github.com/hibernate/hibernate-search/commit/0c26aaff7a2162aa35a3...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
A hibernate-search-engine/src/test/java/org/hibernate/search/test/configuration/IndexMetadataCompleteConfiguredTest.java
M hibernate-search-engine/src/test/java/org/hibernate/search/test/util/ManualConfiguration.java
Log Message:
-----------
HSEARCH-1028 Add an additional test to cover interaction of global setting and MutableSearchFactory
Compare: https://github.com/hibernate/hibernate-search/compare/d0e1536...0c26aaf
12 years, 9 months
[hibernate/hibernate-orm] 05c367: HHH-7138 - Hibernate implements JPA @OneToMany col...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 05c36793730fb1b4e3d08c731998c7649c9b34ef
https://github.com/hibernate/hibernate-orm/commit/05c36793730fb1b4e3d08c7...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/test/java/org/hibernate/jpa/version/JpaSpecVersionValueUpdatingTest.java
Log Message:
-----------
HHH-7138 - Hibernate implements JPA @OneToMany collection versioning incorrectly
Commit: 0e88fdd90991570262528182dc7eb29453c17d25
https://github.com/hibernate/hibernate-orm/commit/0e88fdd9099157026252818...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M documentation/documentation.gradle
M documentation/src/main/docbook/devguide/en-US/Batch_Processing.xml
M documentation/src/main/docbook/devguide/en-US/Hibernate_Development_Guide.xml
M documentation/src/main/docbook/manual/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml
M documentation/src/main/docbook/quickstart/en-US/Hibernate_Getting_Started_Guide.xml
M documentation/src/main/style/css/css/hibernate.css
A documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common-base.xsl
A documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common-xhtml.xsl
R documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common.xsl
R documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/eclipse.xsl
M documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/fop1.xsl
M documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/pdf.xsl
R documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml-common.xsl
M documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl
M documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl
Log Message:
-----------
HHH-7153 - Update to newest jDocBook tool chain versions
Compare: https://github.com/hibernate/hibernate-orm/compare/94e7994...0e88fdd
12 years, 9 months
[hibernate/hibernate-orm] f31dd3: HHH-7037 creating a new util package
by GitHub
Branch: refs/heads/metamodel
Home: https://github.com/hibernate/hibernate-orm
Commit: f31dd33b5fae96881b693be523740f95a416b3a1
https://github.com/hibernate/hibernate-orm/commit/f31dd33b5fae96881b693be...
Author: Hardy Ferentschik <hardy(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M build.gradle
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/AnnotationMetadataSourceProcessorImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/EntityHierarchyBuilder.java
R hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/EnumConversionHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/FetchProfileSourceImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/FilterDefinitionSourceImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/FilterSourceImpl.java
R hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/HibernateDotNames.java
R hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/JPADotNames.java
R hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/JandexHelper.java
R hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/ReflectionHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/TypeDescriptorSourceImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/AssociationAttribute.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/AttributeNature.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/AttributeOverride.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/BasicAttribute.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/Column.java
R hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/ExplicitHibernateTypeSourceImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/MappedAttribute.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/SingularAttributeSourceImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/ToOneAttributeSourceImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/type/AttributeTypeResolverImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/type/EnumeratedTypeResolver.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/type/ExplicitHibernateTypeSourceImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/type/LobTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/type/TemporalTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/entity/ConfiguredClass.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/entity/EmbeddableClass.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/entity/EmbeddableHierarchy.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/entity/EntityClass.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/global/FetchProfileProcessor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/global/IdGeneratorProcessor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/global/QueryProcessor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/global/TableProcessor.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/util/EnumConversionHelper.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/util/HibernateDotNames.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/util/JPADotNames.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/util/JandexHelper.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/util/ReflectionHelper.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/util/package.html
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/xml/filter/IndexedAnnotationFilter.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/xml/filter/NameTargetAnnotationFilter.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/AbstractMocker.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/AccessHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/DefaultConfigurationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/GlobalAnnotations.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/MockHelper.java
M hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/global/FetchProfileBinderTest.java
M hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/global/QueryBinderTest.java
M hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/util/BaseAnnotationIndexTestCase.java
M hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/util/JandexHelperTest.java
M hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/BasicMockerTest.java
M hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/DefaultConfigurationHelperTest.java
M hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/EntityListenerTest.java
M hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/OverrideTest.java
Log Message:
-----------
HHH-7037 creating a new util package
Commit: 0eb42b38919b138eb09f285f7a2abfca85f288b0
https://github.com/hibernate/hibernate-orm/commit/0eb42b38919b138eb09f285...
Author: Hardy Ferentschik <hardy(a)hibernate.org>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/PluralAssociationAttribute.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/PluralAttributeSourceImpl.java
Log Message:
-----------
HHH-7037 adding caching and custom persisters
Compare: https://github.com/hibernate/hibernate-orm/compare/3aaed02...0eb42b3
12 years, 9 months