Commit Graph

67 Commits

Author SHA1 Message Date
Steve Ebersole e77364b808 HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-09-27 21:24:24 +02:00
Sanne Grinovero 3b05c27a56 HHH-16963 Avoid H2's capability to register a JVM shutdown hook: causes classloader leaks during tests 2023-08-01 16:07:28 -04:00
Marco Belladelli f1710fbb4f
HHH-16617 Add test for issue 2023-05-29 13:44:11 +02:00
clement cdfa7a9bdc
HHH-16385 Add test for issue 2023-05-29 13:44:10 +02:00
Andrea Boriero 5491bcd5d4 HHH-16097 Move all tests from documentation into hibernate-core 2023-03-24 07:59:56 -05:00
Sanne Grinovero 335e468943 HHH-16223 Deprecate HBM2DDL_DATABASE_ACTION 2023-03-07 21:35:33 +00:00
marko-bekhta 844a89a74c HHH-16217 Use only rendered Javadocs for collecting configuration properties 2023-03-01 13:27:34 -06:00
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 03384af943 More work on hibernate-platform and version catalog 2022-04-26 14:41:04 -05:00
Steve Ebersole 69e57404c6 HHH-15226 - Publish a Gradle platform (Maven Bom++) for Hibernate ORM
- plus use Gradle version catalogs as opposed to `libraries.gradle`
- dropped OSGi manifest entries for hibernate-envers - they were broken and we decided we no longer support OSGi
2022-04-26 14:41:04 -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
Steve Ebersole c7e37dc1d7 HHH-14513 : Move publishing release and snapshot artifacts to Sonatype OSSRH 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 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 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
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