Commit Graph

254 Commits

Author SHA1 Message Date
Steve Ebersole d7d55f4e87 HHH-9641 - Resume uploading Javadoc JARs to Maven
HHH-12187 - Drop custom javadoc css

- disable all "publish artifacts" (except relocation pom) for hibernate-infinispan
2017-12-27 09:20:18 -06:00
Steve Ebersole 1da748ed28 HHH-12177 - Drop hibernate-infinispan module - relocated 2017-12-22 12:07:18 -06:00
Andrea Boriero 1e4d483e73 HHH-12177 - Disable generation of hibernate-infinispan jar 2017-12-22 12:00:34 -06:00
Andrea Boriero 25854433ac HHH-12177 - Drop hibernate-infinispan module 2017-12-22 12:00:34 -06:00
Steve Ebersole ad0aa213bc Allow Hibernate's Transaction act like JPA's EntityTransaction 2017-12-13 06:19:31 -06:00
Steve Ebersole f669c4bcdf HHH-12139 - Allow Hibernate's Transaction act like JPA's EntityTransaction 2017-12-13 06:19:31 -06:00
Vlad Mihalcea 164178330a HHH-12073 - Change BaseUnitTestCase Logger to protected 2017-11-01 19:04:07 +02:00
Radim Vansa 1965a9bcaf HHH-10677 Local Timestamp cache is not updated right after cache.put 2017-10-30 17:04:03 +02:00
Radim Vansa 5d2c353437 HHH-12036 Use cache.clear() for bulk removal on non-tx cache 2017-10-30 15:29:54 +02:00
Radim Vansa 3d712b0a6e HHH-11381 In nonstrict mode, putFromLoad after evict can behave incorrectly
* piggybacking minor improvements for size command, too
2017-02-23 12:11:33 +01:00
Radim Vansa f574325c04 Run CorrectnessTestCase in nonstrict mode
* the test was not running in nonstrict-read-write mode but in read-write mode instead
* for collections, we have to fallback to read-write mode
* there are expected failures in nonstrict mode, as the test does not allow stale reads
  (adding a switch to handle these is TODO)
2017-02-23 12:11:33 +01:00
Radim Vansa 69ba7a50ce HHH-11373 Silence lock acquisition failures on remote nodes 2017-02-23 12:11:33 +01:00
Radim Vansa 1ba6e00e00 HHH-11372 Do not send RemoveExpiredCommands in repl/dist caches 2017-02-23 12:11:33 +01:00
Vlad Mihalcea 7c06d003dc HHH-11457 - Add MariaDB specific Dialects 2017-02-15 12:08:34 +02:00
Galder Zamarreño 8b2a852a92 HHH-11445 - Improve Infinispan second-level cache documentation
-  Also add a replicated cache example for entity/collection to make it easy for users to switch to that. Since eviction is not recommended for replicate entity caches, it helps to provide a sample configuration.
2017-02-13 15:35:53 +02:00
Gail Badner 99a033c21c HHH-11202 : IllegalAccessException on Embeddable ID after serializing Getter in cache key 2017-01-12 09:36:50 -08:00
Radim Vansa a21706bf02 HHH-11344 Testsuite speed-up
* reduce number of setups (@Before -> @BeforeClassOnce)
* remove sleeps related to JGroups flush (issue in a 6+ years old version)
* do not create new cache manager in CollectionRegionAccessStrategyTest#doPutFromLoadRemoveDoesNotProduceStaleDataInvalidation
* Share cache manager in some tests
* Replace system time with mocked time service where possible
* Replace sleeps with synchronization
* Disabled ConcurrentWriteTest.testMany (this is a stress test)
2016-12-22 12:40:25 +01:00
Radim Vansa 20daac6ea7 HHH-11350 Intermittent failure in EntityCollectionInvalidationTest.testAll 2016-12-22 12:38:07 +01:00
Radim Vansa 2a4efd46ca HHH-11350 Intermittent failure in testEvictAll/testRemoveAll 2016-12-22 12:38:07 +01:00
Radim Vansa f59807554a HHH-11339 Use UnorderedDistributionInterceptor for async replication 2016-12-22 12:38:07 +01:00
Radim Vansa 160f5ba863 HHH-11323 + HHH-11339
Evict during concurrent update and putFromLoad can result in stale entry in 2LC
PutFromLoads in replicated/distributed caches should propagate asynchronously

It would require additional effort to isolate only changes that fix
HHH-11323 and which just allow async propagation.
2016-12-22 12:38:07 +01:00
Radim Vansa ba3677b690 HHH-11323 Update CorrectnessTestCase 2016-12-22 12:38:07 +01:00
Radim Vansa c94df359d6 HHH-11304 Replace PutFromLoadValidator properly in CollectionRegionAccessStrategyTest 2016-12-19 23:48:45 -08:00
Radim Vansa 294ba74c76 HHH-11304 Invalidations are not cleared when transaction rolls back
* always use global transaction id (in transactional caches) or command invocation id (in non-transactional caches) to identifiy the invalidator
* don't use afterInvoke/afterUpdate/unlockItem to end invalidation as this is not called during rollback
** use Infinispan transaction handling or explicitly registered invalidation to hook into the process
** move invalidation calls to interceptor stack where we have the identifiers
* don't use deprecated methods for commands marshalling
2016-12-19 23:48:45 -08:00
Andrea Boriero 9976edc853 HHH-11183 - Mixed line endings in schema creation script 2016-12-14 17:56:18 +02:00
Radim Vansa f4f50aa5c8 HHH-11271 Disable testContestedPutFromLoad because of short timeout 2016-12-08 10:08:22 +02:00
Radim Vansa ed804d500e HHH-11318 - Fix Infinispan Javadoc documentation typos
Revert after/before -> afterQuery/beforeQuery in documentation
2016-12-07 14:18:06 +02:00
Gail Badner 30974c1cd4 HHH-11083 : Change references to "OldCacheKeyImplementation" to "CacheKeyImplementation" in MultTenancyTest; also override addSettings to use DefaultCacheKeysFactory 2016-11-22 23:29:07 -08:00
Gail Badner 61ca5c220b HHH-11083 : Change references to "OldCacheKeyImplementation" to "CacheKeyImplementation" in CacheKeysFactoryTest 2016-11-22 22:50:23 -08:00
Radim Vansa 9c376a39f9 HHH-11083 WrongClassException using Infinispan and sharing cache regions
* DefaultCacheKeysFactory implements CacheKeysFactory, therefore it can be used in hibernate.cache.keys_factory
* Use DefaultCacheKeysFactory by default
* Add "default" and "simple" as short names for those factories
2016-11-22 22:00:44 -08:00
Radim Vansa 180f16dbae HHH-11267 Fix JBossStandaloneJtaExampleTest 2016-11-22 17:34:08 +00:00
Radim Vansa d4f240b439 HHH-11267 Fix Entity- and CollectionRegionAccessStrategyTest 2016-11-22 17:34:08 +00:00
Radim Vansa b976e85f06 HHH-11267 Fix SessionRefreshTest
* Refactor common code from NonTx- and TxInvalidationInterceptor to common base
2016-11-22 17:34:08 +00:00
Radim Vansa 6aaaf37d6f HHH-11267 Fix BulkOperationsTest and ReadWriteTest 2016-11-22 17:34:07 +00:00
Radim Vansa 4508a9e654 HHH-11267 Fix TombstoneTest 2016-11-22 17:34:07 +00:00
Radim Vansa 0728f7b35e HHH-11268 Changes required after upgrading to Infinispan to 8.2 2016-11-22 17:33:52 +00:00
Radim Vansa 865d5398c2 HHH-11226 Hibernate cache throws NullPointerException during wildfly app server startup 2016-11-22 17:20:30 +00:00
Paul Ferraro a21c086537 HHH-11254 Timestamps cache fails validation if eviction strategy = MANUAL 2016-11-22 17:10:40 +00:00
Sanne Grinovero c308bcbe7d HHH-11271 Fix hidden failure in InfinispanRegionFactoryTestCase#testTimestampValidation 2016-11-22 17:02:31 +00:00
Vlad Mihalcea 6024520e08 HHH-11204 - Fix typo for all "occured" error message to occurred 2016-11-01 16:40:39 +02:00
Chris Cranford ee4f939a04 HHH-10807 - Moved isActive from Transaction to TransactionImplementor. 2016-06-29 11:15:45 -05:00
Chris Cranford e7933ababb HHH-10807 - Added isActive to Transaction and moved logic to TransactionDriver. 2016-06-29 11:15:45 -05:00
Steve Ebersole 3040030bd8 HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 19:15:08 -05:00
Steve Ebersole 3a0824a037 HHH-10287 - Cache keys no longer include the entity type 2016-06-01 20:51:46 -05:00
Chris Cranford 43a62ad477 HHH-10664 - Prep 5.2 feature branch - Correct other module tests to build properly. 2016-05-09 11:56:53 -05:00
Steve Ebersole d2ac092992 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods) 2016-05-06 13:12:35 -05:00
Steve Ebersole 76bac3268a HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures) 2016-05-06 13:12:33 -05:00
Steve Ebersole 87e3f0fd28 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core) 2016-05-06 13:12:32 -05:00
Steve Ebersole 8ddd61b061 HHH-10664 - Prep 6.0 feature branch - baseline Java 8 2016-03-31 12:04:10 -05:00
Vlad Mihalcea 0ed39c7746 Change hibernate.properties to take configurable environment settings 2016-03-16 09:30:29 +02:00