Commit Graph

128 Commits

Author SHA1 Message Date
Yoann Rodière 495eb28698 HHH-17145 Don't use net.bytebuddy.experimental on JDK 21 2023-09-05 14:34:14 +02:00
Andrea Boriero 74acc73c2b Gradle add test logging exceptionFormat = 'full' 2023-07-28 08:41:56 +02:00
Steve Ebersole 9e9a135218 fix sql highlighting
(cherry picked from commit b208755db9)
2023-05-10 17:00:41 -05:00
Jan Schatteman 6844ed07b2 HHH-16515 - Add @nullable annotations to org.hibernate.action.spi
HHH-16515 - Add the org.hibernate.context.spi package to nullness checking
HHH-16515 - Add the org.hibernate.bytecode.spi package to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-05-08 22:02:19 +02:00
Jan Schatteman 260a8cfff6 HHH-16515 - Add o.h.pretty to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-28 16:15:52 +02:00
Jan Schatteman 23046adb4c HHH-16515 - Add @Nullable annotations to org.hibernate.spi
Signed-off-by: Jan Schatteman <jschatte@redhat.com>

Correction to gradle/java-module.gradle for the checkerframework
Co-authored-by: Christian Beikov <christian.beikov@gmail.com>

Add @Nullable annotations to org.hibernate.spi
2023-04-26 20:32:55 +02:00
Steve Ebersole 991ea65c7c HHH-16511 - Ability to drop-in extra JDBC drivers
(cherry picked from commit 519f0f7ced)
2023-04-25 05:00:21 -05:00
Christian Beikov 484cbfe720 HHH-16389 Introduce checkerframework for nullness marking/checking and null check the JPA metamodel generator 2023-04-05 19:14:59 +02:00
Steve Ebersole 3f7dd8c23b HHH-15799 - API/internal split for org.hibernate.cfg package 2022-12-21 07:48:35 -06:00
Mark Rotteveel 9290f8b754 HHH-15812 Firebird dialect improvements 2022-12-06 11:38:51 +01:00
Christian Beikov 276b7a6f95 HHH-15748 Use JSON DDL type on Oracle 21+ and BLOB on 12+ 2022-11-25 10:11:12 +01:00
Christian 11b968a2ee HHH-15571 Use Gradle BND Plugin for generating OSGI Bundle entries in Jar Manifest 2022-11-03 11:43:12 +01:00
Christian Beikov ee7c2ee041 HHH-15615 Add EDB PostgreSQL Advanced to test matrix and fix issues 2022-10-21 12:35:46 +02:00
Christian Beikov bfa17d3fc7 Allow excluding tests of all sub projects, not just hibernate-core 2022-09-19 14:51:57 +02:00
Yoann Rodière f46d61b6e7 Allow passing test launcher args through project properties 2022-06-09 17:13:56 +02:00
Andrea Boriero 30d896a19a HHH-15297 Invalid Automatic-Module-Name org.hibernate.orm.community-dialects 2022-05-24 14:42:07 +02:00
Christian Beikov c18e611ed6 HHH-15200 Add support for the SQLXML type 2022-05-05 09:07:37 +02: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
Christian Beikov 43d2274573 Switch to new Oracle image and try to improve podman experience 2022-04-07 12:34:00 +02:00
Steve Ebersole 5403e95958 HHH-14872 - Re-enable hibernate-gradle-plugin
plus additional improvements to Gradle scripts
2022-03-15 20:10:17 -05:00
Steve Ebersole 58d4d8a6e1 Gradle build clean-ups
- fix forbidden-apis task config
2022-03-15 16:24:07 -05:00
Steve Ebersole f82d381fe3 Gradle build clean-ups
- re-organize release task definitions to avoid use of subproject iteration
2022-03-15 12:15:56 -05:00
Steve Ebersole 92b46bca5b Gradle build clean-ups
- drop use of `allprojects`
2022-03-15 09:39:07 -05:00
Yoann Rodière 5eb8a6fab1 HHH-15107 Use net.bytebuddy.experimental=true when running tests against JDK19 2022-03-09 08:11:09 +01:00
Steve Ebersole 5436f441ae move remaining tests from o.h.test to o.h.orm.test 2022-01-26 17:06:53 -06:00
Sanne Grinovero fbae1a4651 HHH-15026 Upgrade to Log4J 2.17.1 2022-01-13 15:30:30 +00:00
Steve Ebersole e446b7c99b Log4j Vulnerability - https://blog.gradle.org/log4j-vulnerability;
Upgrade Gradle Enterprise plugin to 3.8
2022-01-11 15:47:48 -06:00
Steve Ebersole 55bfc59db1 fix gradle deprecations 2021-12-01 11:50:36 -06:00
Sanne Grinovero 334aeb1349 HHH-14946 Upgrading base requirements to Java 11 2021-12-01 17:34:28 +00:00
Christian Beikov 9fa2671cbc Update to Gradle 7.2 2021-10-19 11:07:39 +02:00
Christian Beikov 7fd3706a18 Fix build script regarding tools.jar inclusion into testCompile configuration 2021-09-30 13:52:31 +02:00
Steve Ebersole 7bc1d55cdd improved aggregated javadoc generation 2021-09-27 08:21:36 -05:00
Steve Ebersole a9387033b2 HHH-14837 - Move to Jakarta EE
- fixups
2021-09-27 08:21:36 -05:00
Steve Ebersole 089a3f86ae HHH-14837 - Move to Jakarta EE
preliminary transformation;
only `javax.persistence.*` settings supported atm
2021-09-27 08:21:27 -05:00
Andrea Boriero cdeb95a4d5 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-08-30 14:07:19 +02:00
Steve Ebersole d1ab98df85 fix Test tasks in terms of Gradle task caching 2021-08-26 11:36:51 -05:00
Sanne Grinovero 9267c5e6a6 HHH-14792 Remove support for bytecode enhancement via Javassist 2021-08-26 15:22:30 +01:00
Steve Ebersole 3b78f30309 Few Gradle file related tasks
- dropped explicit apt output handling - Gradle has that built in
- Switched other uses to write to the standard `${buildDir}/generated/sources` dir
2021-08-02 16:35:16 -05:00
Steve Ebersole 9f2ae95397 Gradle task cache
Gradle 7 prep
2021-07-26 13:51:38 -05:00
Andrea Boriero 76df5a5f4b Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-07-26 15:15:29 +02:00
Yoann Rodière e4199decb5 HHH-14707 Upgrade to Byte Buddy 1.11.8 2021-07-16 10:19:42 +01: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
Steve Ebersole 174b23001f Fix Jakarta processing 2021-07-01 21:17:30 -05:00
Steve Ebersole 59f033194a Improved build configuration to better leverage Gradle up-to-date handling;
Preparation for moving to Gradle 7.0

- Moved custom Antlr plugin to hibernate-orm-build module
- more deprecation clean ups
2021-06-28 15:59:35 -05:00
Steve Ebersole 172ddf8700 Improved build configuration to better leverage Gradle up-to-date handling;
Preparation for moving to Gradle 7.0

- Improve Jakarta transformation handling (tests are also actually run now as a bonus);
- Improved CacheableHbmXmlTest to not write "ser" file to `${buildDir}/resources/test`
- Improved DatabaseService(Plugin)
- Update a number of plugins which did not handle up-to-date-ness properly
2021-06-26 08:46:09 -05:00
Christian Beikov 69dc854d88 Get rid of some unnecessary classpath elements 2021-06-24 12:34:52 +02:00
Christian Beikov 3435189777 Add support for parallel gradle build 2021-06-24 12:16:29 +02:00
Andrea Boriero 6ced2f0aca Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-07 12:47:53 +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