Commit Graph

126 Commits

Author SHA1 Message Date
Guillaume Smet 5d5cfe82ef HHH-12869 Do not check the cacheManager is not null when creating it 2018-08-01 11:44:53 +02:00
Vlad Mihalcea 4b51867c44 HHH-12771 - Caused by: java.lang.UnsupportedOperationException: Cache provider [org.hibernate.cache.ehcache.internal.EhcacheRegionFactory@3271ec2a] does not support `transactional` access 2018-07-13 09:43:03 +03:00
Yoann Rodière 21eac287e9 HHH-12531 Default to using legacy region names when default query caches do not exist in the EhCache and JCache integrations 2018-07-04 10:03:23 +02:00
Yoann Rodière 2649e1372c HHH-12649 Move the created cache warning to org.hibernate.cache.spi.SecondLevelCacheLogger 2018-07-04 09:44:50 +02:00
Yoann Rodière e91a051465 HHH-12649 Use the 'create-warn' missing cache strategy by default in hibernate-ehcache
In order to be backward-compatible with ORM 5.1.
2018-07-04 09:44:50 +02:00
Yoann Rodière dc8a0dc8df HHH-12549 Test the various missing cache strategies for hibernate-ehcache 2018-07-04 09:44:50 +02:00
Yoann Rodière c52ff4d06c HHH-12549 Allow the behavior when a cache is missing to be configured by users 2018-07-04 09:44:50 +02:00
Yoann Rodière 432adb36d8 HHH-12549 Remove mentions of JCache in hibernate-ehcache 2018-07-04 09:44:50 +02:00
Steve Ebersole 1a75fb3bbb HHH-7809 - ehcache region factory should set a name for the CacheManager 2018-03-28 14:39:49 -05:00
Alex Snaps a35139ec3e Style 2018-03-28 14:38:46 -05:00
Alex Snaps 97dd42cfa6 HHH-7809 override or set cachemanager name 2018-03-28 14:38:46 -05:00
Alex Snaps 01ea47bd92 HHH-11356 Unused const 2018-03-28 14:38:46 -05:00
Steve Ebersole 9ba05c1e6b HHH-12441 - Deprecate hibernate-ehcache 2018-03-28 14:04:56 -05:00
Steve Ebersole b8674563d2 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
- Fix-ups from Radim's review
- Better Javadoc
2018-03-27 15:38:24 -05:00
Steve Ebersole 7f12e2a161 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
HHH-12416 - set up relocation for hibernate-ehcache
HHH-12417 - default strategy based on registrations with StrategySelector

Basically reverted HHH-12416 and added basic support for Ehcache 2 again
2018-03-22 22:51:07 -05:00
Steve Ebersole dae31640a8 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
HHH-12416 - set up relocation for hibernate-ehcache
2018-03-22 13:25:12 -05:00
Steve Ebersole f432ecea68 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
2018-03-22 13:25:12 -05:00
Roland Illig 8b11d5ecf9 HHH-12388 - User Guide and Javadoc typo fixes
Fix a/an grammar in code and documentation, and other typos
2018-03-14 14:17:55 +02:00
Steve Ebersole d806eff912 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Steve Ebersole 300fa80016 HHH-12189 - Only call setAccessible() when member is not accessible 2017-12-27 09:53:07 -06:00
Richard Bradley 3a813dcbb4 HHH-11646 revert errant after -> afterQuery search and replace 2017-05-03 11:54:37 +03:00
Andrea Boriero 23aad981a8 HHH-11593 - Remove mockito dependencies from hibernate-testing 2017-04-14 08:44:47 +02:00
Vlad Mihalcea ae23ecd937 HHH-11593 - Fix test issues in SQL Server 2017-03-29 17:13:30 +03:00
Andrea Boriero e54ce7b266 HHH-11536 - Fix unit tests failing on Oracle 2017-03-02 12:29:13 +00: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
ChristophDreis d2d947068d HHH-11136 - Reduce memory consumption caused by Method.getParameterTypes() 2016-09-27 09:08:41 +02:00
Vlad Mihalcea f5e10c29eb HHH-10907 - Fix connection leak problem in hibernate-core tests 2016-07-14 13:55:30 +03:00
Vlad Mihalcea 799ab91cf5 HHH-10943 - Driver Manager Connection Pool should close leaked connections upon shutting down 2016-07-12 17:14:59 +03:00
Steve Ebersole 3040030bd8 HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 19:15:08 -05:00
Vlad Mihalcea 45e76918e8 HHH-10773 - Add a toString() implementation to the READ_WRITE Ehcache Item object 2016-05-26 10:39:00 +03: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 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
Zhenlei Huang cbdab9d87f HHH-10649 - When 2LC enabled, flush session and then refresh entity cause dirty read in another session / transaction 2016-04-06 12:40:47 +03:00
Vlad Mihalcea 0ed39c7746 Change hibernate.properties to take configurable environment settings 2016-03-16 09:30:29 +02:00
Steve Ebersole b1d1a3c143 HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA 2016-01-08 11:12:58 -06:00
Steve Ebersole 4793ca30a2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-11-17 10:21:58 -06:00
Alex Snaps 0b57c4e787 HHH-10124 HHH-8732 Upgraded Ehcache to 2.10.1 2015-11-12 08:54:01 -06:00
Andrea Boriero c5b1cf94f3 HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules used in OGM and fixed classes having more than a newline at the end of file 2015-09-22 18:11:43 +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 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
Gunnar Morling 274303a7e0 HHH-9949 Using new URL as DTD reference 2015-07-20 09:42:41 +02:00
Radim Vansa e5f4b616d4 HHH-9840 Checkstyle fixes 2015-07-01 23:19:46 +01: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
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Steve Ebersole d5951c6e02 HHH-9803 - Checkstyle fix ups 2015-05-18 21:49:44 -05:00
Sanne Grinovero 4b3a655d49 HHH-9804 Ehcache integration uses a write lock where a read lock is requested in EhcacheTransactionalDataRegion 2015-05-16 15:20:11 +01:00
Steve Ebersole 13736ab5da HHH-9790 - Remove deprecated methods from Session and SessionFactory 2015-05-13 09:03:44 -05: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