Commit Graph

134 Commits

Author SHA1 Message Date
Yoann Rodière 3855700e99 HHH-14635 Upgrade to log4j 2 2021-12-13 12:45:24 +00:00
Andrea Boriero b897a36f2f Fix issue with generated pom missing project description 2020-04-06 18:21:11 +01:00
Sanne Grinovero e476a99250 HHH-13443 Remove unnecessary calls to StringHelper 2019-06-20 22:25:06 +01:00
Chris Cranford a57a2a5620 HHH-13164 - Added test case. 2019-01-16 18:25:09 -05:00
Vlad Mihalcea 77cdaa0824 HHH-13146 - Hibernate Ehcache no longer supports the `net.sf.ehcache.hibernate.cache_lock_timeout` configuration property 2018-12-17 13:54:55 +01:00
Chris Cranford 6d5dd25e7a HHH-13147 - Added test case. 2018-12-07 09:53:17 -05:00
Mykola Pavluchynskyi 736d9dd615 HHH-13090 Allow to use specific cache implementations in Ehcache cache provider
Typically, it allows to use a BlockingCache.
2018-11-08 15:09:33 +01:00
Sanne Grinovero fcd3b56fdd HHH-13029 Avoid static singletons to hold on Strategy Registration Implementations 2018-10-12 23:25:50 +01:00
Guillaume Smet fa77c29b3a HHH-12869 Do not check the cacheManager is not null when creating it 2018-08-01 11:44:19 +02:00
Vlad Mihalcea cf3622f64c 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:40:48 +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