Commit Graph

141 Commits

Author SHA1 Message Date
Andrea Boriero 451568f322 Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_7 2021-05-31 14:55:18 +02:00
Yoann Rodière 07eca3883d HHH-14635 Upgrade to log4j 2 2021-05-26 09:05:56 +02:00
Steve Ebersole 703a121c00 HHH-12416 : Drop `hibernate-ehcache` 2021-05-14 15:06:15 -05:00
Christian Beikov de1524df68 Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-10 11:28:58 +01:00
Christian Beikov d767d46d05 Fix most tests to work on all DBs and fix a bunch of connection leaks 2021-02-03 17:03:47 +01:00
Andrea Boriero 5c86c4a805 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_29 2020-04-09 07:37:11 +01:00
Andrea Boriero b897a36f2f Fix issue with generated pom missing project description 2020-04-06 18:21:11 +01:00
Steve Ebersole dbd108e0b7 Initial working support for building and executing JdbcSelect operation from simple HQL 2019-09-12 10:42:33 +01:00
Andrea Boriero ec086cd299 6 - SQM based on JPA type system 2019-09-12 10:42:32 +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