Commit Graph

172 Commits

Author SHA1 Message Date
Sanne Grinovero bd6bb7b841 HHH-10021 Allow the exact version of Infinispan to be used for testing to be overriden from commandline 2015-08-06 10:55:52 +01:00
Sanne Grinovero 8c5c291bee HHH-10021 Allow easy testing of hibernate-infinispan against Infinispan 7 or 8 2015-08-06 10:33:39 +01:00
Andrea Boriero 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27:18 +01:00
Radim Vansa ab4c6841df HHH-10005 Query in context needs precedence over query in cache 2015-07-30 18:31:26 +02:00
Sanne Grinovero 44e7171edd HHH-10001 Make the testsuite compatible with Infinispan 8 2015-07-30 14:51:25 +01:00
Paul Ferraro 60c109c1a4 HHH-9999 Fix use of deprecated API
This fixes compatibility with Infinispan 8.0
2015-07-29 16:06:44 -04:00
Radim Vansa 0cb00db3b9 HHH-7898 Regression on org.hibernate.cache.infinispan.query.QueryResultsRegionImpl.put(Object, Object)
* Moved query cache update to second phase of transaction commit
* Query caches are now recommended to be non-transactional (transactional ones will be slower)
2015-07-28 18:02:17 +01:00
Radim Vansa 4fd7680191 HHH-9977 Consider options for passing Session to caching SPI calls
* Passing SessionImplementor to all the calls executed in transactional context
2015-07-28 17:56:55 +01:00
Radim Vansa 2f1b67b03f HHH-9843 Use optimized cache key implementation in Infinispan 2LC
* When multi-tenancy is not used, entity's @Id can be used as key to the cache
* Added Type to CacheDataDescription (in SPI), later used for container key equivalence
* Introduced CacheKeysFactory to SPI
* Pending puts cache is now per region - this is necessary as we need to use custom key equivalence
2015-07-06 11:40:17 -05:00
Radim Vansa bcf38a02b5 HHH-9800 Numerous hibernate-infinispan tests continue to fail transiently
The original cause was JGRP-1931, but this replaces fixed delays with eventual asserts (with 10 seconds timeouts).
2015-07-06 11:25:25 -05:00
Radim Vansa cffe71aeba HHH-9840 Change all kinds of CacheKey contract to a raw Object
* Replaced all CacheKey with Object
* Because of statistics, added unwrap operation to all AccessStrategies
2015-07-01 23:14:13 +01:00
Sanne Grinovero 16ae00a53a HHH-9840 Allow 2nd level cache implementations to customize the various key implementations 2015-07-01 20:42:51 +01:00
Sanne Grinovero 1e54ee3dc1 HHH-9874 Do not leak the configuration resource stream 2015-06-19 18:41:00 +01:00
Sanne Grinovero f593a9c14a HHH-9874 Perform Infinispan configuration parsing using the classloader of the cache integration module 2015-06-19 18:41:00 +01:00
Sanne Grinovero 3d27b29468 HHH-9874 Improve resource lookup for the Infinispan configuration resources 2015-06-19 17:38:22 +01:00
Steve Ebersole 9e063ffa25 HHH-9837 - Remove reliance during annotation binding on org.hibernate.internal.util.ClassLoaderHelper
HHH-9841 - Redesign org.hibernate.property.PropertyAccessorFactory
2015-06-04 14:12:17 -05:00
Andrea Boriero 6417a469f9 HHH-9695 - Fix merge conflicts and checkStyle failure 2015-05-27 19:59:34 +01:00
rvansa ccc83405c4 HHH-9695 Use non-transactional cache for immutable entities 2015-05-27 19:20:28 +01:00
rvansa d46bfb3d80 HHH-9787 Remove outdated Infinispan configuration elements 2015-05-19 13:35:34 +02:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Steve Ebersole 611f8a0e1c HHH-9803 - Checkstyle fix ups 2015-05-18 13:35:27 -05:00
Steve Ebersole 7308e14fed HHH-9803 - Checkstyle fix ups 2015-05-15 18:07:07 -05:00
Steve Ebersole a50e5f3623 HHH-9800 - Numerous hibernate-infinispan tests continue to fail transiently 2015-05-15 08:49:46 -05:00
Gail Badner df898f3fbc HHH-9796 : Allow running hibernate-infinspan tests using Infinispan configuration specified by hibernate.cache.infinispan.cfg 2015-05-13 14:50:05 -07:00
Galder Zamarreño f3399926db HHH-9781 Update XML schema to Infinispan 7.2 2015-05-12 10:06:37 +02:00
Galder Zamarreño f8186e10c2 HHH-9776 elementCountInMemory should be local
* By default Cache.size() is now cluster-wide and hence to calculate
elementCountInMemory, local flag needs to be passed in (as well as
skip cache load in case there's a remote store plugged into it).
2015-05-08 17:43:40 +02:00
Galder Zamarreño 37494f4a9f HHH-9781 Update to Infinispan 7.2.1.Final
* The upgrade caused some tests that verified number of cached elements
in memory to fail. The cause for this was the change in clear()
operation which now is non-transactional, hence each element needs to
be removed individually.
2015-05-08 17:43:39 +02:00
Steve Ebersole da1fcbbfb7 HHH-9762 - Complete deprecation of Settings contract 2015-05-05 18:00:37 -05:00
Andrea Boriero b476094d43 HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 10:58:08 -05:00
Steve Ebersole d2c50f16f2 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-21 13:49:06 -05:00
Steve Ebersole e8af41637f HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-21 11:56:06 -05:00
Steve Ebersole 2c968538a5 HHH-9728 - Audit Settings to decide what should become a SessionFactoryServiceRegistry service 2015-04-16 00:59:10 -05:00
Steve Ebersole 650267077d HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-10 11:58:22 -05:00
Steve Ebersole c11d264743 HHH-9550 - Allow a dialect to specify the level of catalog/schema support 2015-04-07 16:36:29 -05:00
Steve Ebersole 2cff88cac7 Merge pull request #910 from rvansa/HHH-9632_2
HHH-9632 Upgrade to Infinispan 7.1.0.Final
2015-03-20 12:26:16 -05:00
rvansa 1b7e112994 HHH-9632 Upgrade to Infinispan 7.1.0.Final
* fixed default configuration path
* set schema to 7.1
2015-03-18 11:15:59 +01:00
Steve Ebersole 9caca0ce37 HHH-9490 - Migrate from dom4j to jaxb for XML processing;
HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc);
HHH-7078 - Split NamingStrategy into ImplicitNamingStrategy/PhysicalNamingStrategy;
HHH-6005 - Better handling of implicit column naming with @ElementCollection of @Embeddables;
HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls
2015-03-10 16:53:51 -05:00
Galder Zamarreño 260ff03ae5 HHH-9632 Update to Infinispan 7.1.0.Final 2015-03-02 09:54:02 +01:00
Paul Ferraro b8923b1e39 HHH-9337 Region.destroy() attempts to remove a cache listener, but region class is not annotated with @Listener
(cherry picked from commit 2f881c38b4)
2015-01-05 23:37:22 -08:00
Gail Badner f9a49efd17 HHH-9231 : Uncommitted data can remain in transactional collection cache after rollback if collection is initialized after flush 2014-07-07 19:03:58 -07:00
Galder Zamarreño 36e35207f6 HHH-9231 Avoid updating collection 2LC if contains entity added in tx
(cherry picked from commit 3b098a94d3463086a230d6dbc1254e9ecbf76cda)

Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/BasicTransactionalTestCase.java
2014-07-07 19:03:58 -07:00
Gail Badner af5791f6dd HHH-9231 HHH-5690 : Test cases for transactional cache strategy 2014-06-04 13:45:04 -07:00
Gail Badner dad4c64d56 HHH-5690 : Entity cache after persist, flush, rollback (test case) 2014-06-03 21:28:24 -07:00
Brett Meyer 96b9366f14 HHH-8923 corrected test case 2014-03-26 10:36:01 -04:00
Brett Meyer 8358914331 HHH-9010: Revert "HHH-8961 corrected test failure"
This reverts commit 0dc24f1081.
2014-02-28 14:00:02 -05:00
Brett Meyer 0dc24f1081 HHH-8961 corrected test failure
Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/EntityCollectionInvalidationTestCase.java
2014-02-18 16:00:56 -05:00
Galder Zamarreño faba70203a HHH-8772 Remove removal test for PutFromLoadValidatorTest 2013-12-13 16:17:31 +01:00
Galder Zamarreño 3883d7ca2d HHH-8772 Bigger naked invalidation timeout for PutFromLoad unit test
* Test expects that the two invalidteKey calls happen within the naked
invalidation timeout. If they don't, the test would fail since the
second invalidate key would be removed. Increase the timeout
considerably to avoid the issue.
2013-12-09 17:48:07 +01:00
Steve Ebersole 055a750a53 HHH-8733 - General build cleanup 2013-12-02 20:57:57 -06:00
Steve Ebersole 14d0116af2 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit bc2855b323.
2013-11-26 17:48:25 -06:00