Gavin
1d5c0a60d3
better error reporting in DialectContext and service registry
2022-11-13 15:35:53 +01:00
William Burns
1194e7f23b
HHH-15150 Add test for issue
2022-04-29 15:16:50 -05:00
Steve Ebersole
741b6b71f1
logging report
2022-03-11 14:45:43 -06:00
Steve Ebersole
7b00d3ce78
Migrate internal uses of `MetamodelImplementor` (deprecated) to instead use `MappingMetamodel`
2022-01-25 20:22:29 -06:00
Gavin King
e51c210d78
squash lots of warnings in services
...
change the raw Map representation of config properties to Map<String,Object>
2022-01-25 21:04:50 +01:00
Gavin King
e3a59f883a
get rid of billions of obsolete WeakerAccess suppressions
2022-01-23 00:53:38 +01:00
Steve Ebersole
9fe3c861ca
HHH-15023 - Move Query and NativeQuery back to org.hibernate.query
2022-01-14 14:49:17 -06:00
Steve Ebersole
fda6e96c5e
HHH-15023 - Move Query and NativeQuery back to org.hibernate
2022-01-11 21:01:56 -06:00
Gavin
be4b751582
remove use of deprecated caching methods from tests
2022-01-11 20:56:24 +01:00
Chris Dennis
55db51894f
HHH-14837 : Re-enable hibernate-jcache module.
2021-11-29 11:44:16 -05:00
Steve Ebersole
6af44dd6cf
fix JCache tests
2021-09-10 17:47:31 -05:00
Christian Beikov
6314395edf
Fix connection leaks by properly closing service registries
2021-09-09 16:39:31 +02:00
Jan Schatteman
3ae6057311
Fixed and reorganized tests in hibernate-jcache
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-09-06 08:43:46 +02:00
Christian Beikov
dd6efa509b
Introduce internal init_sql config and by default enable ansinull for Sybase ASE
2021-09-02 16:54:46 +02:00
boris-unckel
db3346962a
HHH-14764 Testsuite: AssertionErrors must not be caught
...
Fixes https://hibernate.atlassian.net/browse/HHH-14764
2021-08-23 12:06:59 +02:00
Christian Beikov
6447ca9b26
HHH-14693, HHH-10668 Move non-supported dialects to the hibernate-community-dialects artifact and add the SQLite dialect originally contributed by Vlad Mihalcea which was adapted for Hibernate 6. Also add HSQLDB, MySQL and Sybase ASE configurations and a CI job config
2021-07-06 10:14:20 +02:00
Christian Beikov
db6701cc93
Move annotations, bytecode, cache, cascade, cdi, cfg, cid, component, compositeelement, customstructures, deletetransient, dialect, dirtyness, entitymode, exceptionhandling, extendshbm, fetchprofiles, fetchstrategyhelper, flush, foreignkey, generatedkeys, hbm, hql, jpa, mapping packages.
2021-06-17 13:16:55 +02:00
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
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
283c3fefb5
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-08-07 11:23:44 +01:00
Rafi Shamim
4655bdbe12
HHH-13724 Add CockroachDB dialects and configs for testing
2020-07-27 12:49:40 +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
Henri Tremblay
73345d5263
HHH-13118 Use the provided class loader even when using the default URI
2018-11-23 16:58:03 +01:00
Vlad Mihalcea
52e72f5d38
HHH-12979 - Setting hibernate.javax.cache.uri property value as relative path causes an error
...
Resolve the hibernate.javax.cache.uri using the ClassLoaderService.
Strip the classpath:// prefix if not resolved by new URL() in ClassLoaderService.
This way, if a framework (e.g. Spring) has installed a handler for classpath://, the resource is resolved with its handler and class loader.
If not, we remove the classpath:// prefix and we resolve the resource with our classloader.
2018-10-25 09:59:23 +03:00
Sanne Grinovero
fcd3b56fdd
HHH-13029 Avoid static singletons to hold on Strategy Registration Implementations
2018-10-12 23:25:50 +01: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
Vlad Mihalcea
6b3e4e6f56
HHH-12767 - Fix tests failing on Oracle
2018-07-04 17:49:42 +03:00
Yoann Rodière
3883abf087
HHH-12649 Use the 'create-warn' missing cache strategy by default in hibernate-jcache
...
In order to be consistent with hibernate-ehcache.
2018-07-04 12:12:00 +02: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
63cc63b386
HHH-12531 Use short, simple names for the query result and update timestamps caching regions
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
f70bb50412
HHH-12549 Test the various missing cache strategies for hibernate-jcache
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
Henri Tremblay
3c0d043313
HHH-12702: Make JCacheRegionFactory easier to subclass
2018-06-18 14:09:50 -04: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
eea22fad17
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
- initial work on migrating hibernate-jcache to new SPIs including a more template-style approach to writing a RegionFactory (o.h.cache.spi.support)
2018-03-22 13:25:12 -05:00
Steve Ebersole
638ebf01df
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
- initial work on migrating hibernate-jcache to new SPIs including a more template-style approach to writing a RegionFactory (o.h.cache.spi.support)
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
Andrea Boriero
e54ce7b266
HHH-11536 - Fix unit tests failing on Oracle
2017-03-02 12:29:13 +00:00
Henri Tremblay
66cf8cb632
HHH-11471 - Add a createCache method
2017-02-09 10:26:38 +02:00
Craig Andrews
10972ffe30
HHH-11265 - Improve potential JCacheRegionFactory subclassing
...
Add protected `getCacheManager()` and `getCacheProvider()` methods that subclasses can override.
Change fields and methods that would be useful to subclasses from package/private scope to protected.
2016-12-14 12:38:25 +02:00
Radim Vansa
45a65daf02
HHH-11083 Fix compilation failures in hibernate-jcache
2016-11-23 11:02:33 +01: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
Louis Jacomet
6fec54a9f6
HHH-10773 Update toString of the READ_WRITE JCache Item
...
It now matches the toString of StandardCacheEntryImpl
2016-05-31 23:55:23 -05:00
Chris Dennis
2ddefd615b
HHH-10770 JCache provider updates
...
* Steer away from EntryProcessor
* Add tests
2016-05-31 23:55:23 -05:00