Commit Graph

169 Commits

Author SHA1 Message Date
Gavin King 40591ada20 add a fairly lame implementation of equals()/hashCode() checking 2024-09-30 13:10:09 -05:00
Gavin King 054aeff78b completely remove checkstyle and replace it with a simple regex check
This is ~ 2 orders of magnitude faster on my machine, so it can be
executed as part of the compileJava task. Also, it actually logs the
failures, instead of making me go hunt for them in some generated
HTML-based report.
2024-09-30 13:10:09 -05:00
Christian Beikov 2be3000e40 Increase checkstyle heap size and reduce default metaspace size of gradle JVM 2024-09-20 13:32:20 +02:00
Marco Belladelli 384bdbc19c Exclude generated sources from spotless 2024-09-18 12:06:40 +02:00
Gavin King 23084dd16c indentWithTabs 2024-09-16 21:26:00 +02:00
Gavin King a43bcd80a8 enable spotless 2024-09-16 21:26:00 +02:00
marko-bekhta cf6d9619b0 HHH-18488 Disable adding of @Generated on logger impls 2024-08-28 10:36:21 -05:00
marko-bekhta e87a64d976 HHH-18488 Configure archive tasks to produce reproducible archives 2024-08-28 10:36:21 -05:00
Andrea Boriero ccba3f62be Fix forbiddenapis failure with GraalVM 21 2024-08-15 13:52:33 -05:00
Steve Ebersole e136e5b04c HHH-18306 - Implicit instantiation for queries with single selection item broken
HHH-18401 - SelectionQuery needs better validation of query return type
2024-08-15 13:52:30 -05:00
Andrea Boriero 8166086957 Upgrade Gradle to 8.8, upgrade checkframework to 0.6.40, fix HibernateProcessor resources creation causing whole tests recompilation 2024-06-11 23:46:57 +02:00
Christian Beikov 0db4148205 Add APT_DEBUG flag to allow debugging the Javac process and annotation processors 2024-06-11 16:16:14 +02:00
Christian Beikov 3b6c1bc7d6 Make it possible to run with informix 2024-06-07 14:52:35 +02:00
Steve Ebersole f898de7e98 HHH-17850 - Add jacoco test coverage to the build 2024-03-14 15:00:56 -05:00
Gavin King 4bc4ffe056 HHH-17778 rename jpametamodelgen -> processor 2024-03-01 22:58:59 +01:00
Yoann Rodière 3b31351234 Move setting of net.bytebuddy.experimental to the Jenkinsfile
The hope is that whenever we add a new JDK version to test,
we'll notice this setting, will try to remove it and upgrade bytebuddy
if necessary. This would avoid mess-ups like the one that caused
https://github.com/hibernate/hibernate-orm/pull/7790
2024-02-06 13:42:21 +00:00
Jan Schatteman 355f5c8005 HHH-17616 - More work related to moving resources
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-01-10 12:12:46 +01:00
Steve Ebersole e97e76182b Be sensitive to changes in `databases.gradle` in terms of invalidating build-cache 2023-12-21 11:06:08 -06:00
sreekarareddy 3d2a525eb5 HHH-17414 Create a UCP connection pool module 2023-12-21 18:02:15 +01:00
Andrea Boriero 16eecea9d0 HHH-17347 Support for JDK which do not support JFR events 2023-11-17 08:17:15 -06:00
yjpark 46b064633b HHH-17023 Implements AltibaseDialect 2023-11-14 14:51:35 +01:00
Andrea Boriero e4128b1e1a HHH-17210 Add annotation to suppress ForbiddenAPI non portable failures for jdk.jfr 2023-10-18 12:40:06 -05:00
Steve Ebersole 9ce2d25041 HHH-17336 - JFR events - Session open, Session close
https://hibernate.atlassian.net/browse/HHH-17336
2023-10-18 12:40:06 -05:00
Christian Beikov 0057454d02 Update checker and adapt memory configuration 2023-10-13 16:49:07 +02:00
Christian Beikov de5f8a051b Drop ojdbc6 usage for Oracle 11 testing 2023-10-11 15:37:45 +02:00
Christian Beikov c0987ec548 Use ojdbc6 for Oracle 11 to make timeout tests work 2023-10-02 15:19:12 +02:00
Jan Schatteman 7ff76bf6eb HHH-16515 - Add o.h.engine.spi to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-09-20 09:12:44 +02:00
Yoann Rodière 559a962e23 HHH-17145 Don't use net.bytebuddy.experimental on JDK 21 2023-09-05 14:34:12 +02:00
Steve Ebersole a2d45a2679 HHH-16962 - General documentation improvements
HHH-17141 - Prepare for 6.3.0 release

https://hibernate.atlassian.net/browse/HHH-16962
https://hibernate.atlassian.net/browse/HHH-17141
2023-08-29 13:20:19 -05:00
Christian Beikov 7c697f7e37 Fix Gradle toolchain issues 2023-08-16 09:13:53 +02:00
Steve Ebersole 306adef2a7 General Gradle work - toolchains 2023-08-14 07:56:52 -05:00
Andrea Boriero c5cd1c2664 Gradle add test logging exceptionFormat = 'full' 2023-07-27 15:03:03 +02:00
Jan Schatteman 58c10758e0 HHH-16515 - Add o.h.property.access.spi to nullness checking
HHH-16515 - Add o.h.property.access.internal to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-18 14:33:00 +02:00
Jan Schatteman ad36a76968 HHH-16515 - Add o.h.jdbc to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-18 10:03:24 +02:00
Jan Schatteman 2e73795e4b HHH-16515 - Add o.h.exception to nullness checking
HHH-16515 - Add o.h.integrator to nullness checking

HHH-16515 - Add o.h.service to nullness checking

HHH-16515 - Add o.h.engine.jndi to nullness checking

HHH-16515 - Add o.h.engine.config to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-17 21:56:22 +02:00
Jan Schatteman 314f2d7b7a Revert "HHH-16515 - Add o.h.exception to nullness checking"
This reverts commit c5c3bb8ac8.
2023-07-15 00:38:45 +02:00
Jan Schatteman c5c3bb8ac8 HHH-16515 - Add o.h.exception to nullness checking
HHH-16515 - Add o.h.integrator to nullness checking

HHH-16515 - Add o.h.service to nullness checking

HHH-16515 - Add o.h.engine.jndi to nullness checking

HHH-16515 - Add o.h.engine.config to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-14 21:42:25 +02:00
Jerome Prinet 772cd5e315 HHH-16896 Pass stubs location with a CommandLineArgumentProvider 2023-07-06 21:52:46 +02:00
Jan Schatteman a3abac9065 HHH-16515 - Add o.h.engine.transaction to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-06-26 16:12:14 +02:00
Jan Schatteman e7d0bd0955 HHH-16515 - Add o.h.engine.profile to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-06-26 16:12:14 +02:00
Jan Schatteman b2dfe7148a HHH-16515 - Add o.h.stat to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-05-25 22:26:06 +02:00
Steve Ebersole b208755db9 fix sql highlighting 2023-05-10 16:59:46 -05:00
Jan Schatteman e12cfdb0b9 HHH-16515 - Add the org.hibernate.bytecode.spi package to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-05-08 20:23:21 +02:00
Jan Schatteman 1fed78d4e5 HHH-16515 - Add the org.hibernate.context.spi package to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-05-08 20:23:21 +02:00
Jan Schatteman 924e3883d7 HHH-16515 - Add @nullable annotations to org.hibernate.action.spi
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-05-08 20:23:21 +02:00
Jan Schatteman 4a8c51f14f HHH-16515 - Add o.h.pretty to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-28 14:10:32 +02:00
Jan Schatteman d8b44d071e 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 18:28:07 +02:00
Steve Ebersole 519f0f7ced HHH-16511 - Ability to drop-in extra JDBC drivers 2023-04-25 04:59:25 -05:00
Christian Beikov 783da2a906 HHH-16389 Introduce checkerframework for nullness marking/checking and null check the JPA metamodel generator 2023-04-05 19:14:37 +02:00
Steve Ebersole 3f7dd8c23b HHH-15799 - API/internal split for org.hibernate.cfg package 2022-12-21 07:48:35 -06:00