Commit Graph

751 Commits

Author SHA1 Message Date
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
Andrea Boriero fee9e86579 HHH-18457 Remove deprecated org.hibernate.Metamodel and org.hibernate.metamodel.spi.MetamodelImplementor 2024-09-26 17:33:46 +02:00
Gavin King 1568c5284f HHH-18667 attempt to fix by making TypeConfiguration nonstatic 2024-09-25 18:38:33 +02:00
Gavin King f929a78948 HHH-18649 nice Javadoc for static TypedQueryReferences 2024-09-23 09:56:27 +02:00
Gavin King ec0f78d8c7 HHH-18649 populate TypedQueryReference in static metamodel
also rename two enums since "metamodel" is a word
2024-09-23 08:42:28 +02:00
Gavin King 8b83a53678 HHH-18649 more work on TypedQueryReference in static metamodel 2024-09-21 16:20:52 +02:00
Gavin King 79d3a3410d squash some warnings in AnnotationMetaEntity 2024-09-21 16:20:52 +02:00
Gavin King e13efce86b HHH-18649 TypedQueryReference and EntityGraph in static metamodel 2024-09-21 16:20:52 +02:00
Gavin King d53498910a cleanup processor StringUtil 2024-09-21 16:20:52 +02:00
Gavin King 09c627c0b2 fix uppercasing of names in processor to comply with JPA 3.2 spec 2024-09-21 16:20:52 +02:00
Čedomir Igaly b25dc774ea HHH-18500 Added slightly modifed existing test case with addition of module-info.java and set extend enhancement flag 2024-09-19 18:58:35 +02:00
Gavin King f0f96916ad abbreviated source header 2024-09-16 21:26:00 +02:00
Gavin King bbc325c26f spaces to tabs! 2024-09-16 21:26:00 +02:00
Gavin King de921ad473 cleanups by spotless 2024-09-16 21:26:00 +02:00
Andrea Boriero 1b0cc59913 HHH-18462 Provide alternatives to deprecated org.hibernate.engine.spi.Mapping 2024-09-16 11:45:54 -05:00
Gavin King 9f2beca226 add a comment 2024-09-14 12:29:10 +02:00
Gavin King 19d5895dd6 finally sort out handling of @Id and @Version in query validator
also remove 'this' hacks made obsolete by Steve's work on core
2024-09-14 12:29:10 +02:00
Gavin King 0c3b8fd819 unexpose the ServiceRegistry on SqmCreationContext + SqlAstCreationContext 2024-09-10 17:25:21 +02:00
Gavin King b4e26b3e32 refactor a bit the BindingContext hierarchy 2024-09-10 17:25:21 +02:00
Gavin King 9f91f2dbff major refactor to horrible instantiation of QueryEngine 2024-09-10 00:42:18 +02:00
Gavin King 2a999d68d2 enable Jakarta Data tests 2024-09-09 19:48:22 +02:00
Gavin King 0dd2defc89 @SuppressWarnings({"UnusedDeclaration"}) -> @SuppressWarnings("unused")
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-09-05 10:46:52 +02:00
Gavin King 7c30bbed2b very minor code cleanups
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-09-04 22:22:58 +02:00
Gavin King 1d12dc0499 HHH-18547, HHH-17114 add default implementations to UserType
and deprecate the wrong-signature nullSafeGet() method

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-31 10:45:48 +02:00
Gavin King 72e42817e3 rationalize diverse ways to split strings
+ a couple of other code cleanups

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-30 13:40:34 +02:00
marko-bekhta 28988a9a5c HHH-18488 Bump the jboss logging dependency 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
Gavin King d90807f9e4 HHH-17117 allow @TenantId to form part of composite key
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-26 21:47:29 +02:00
Čedomir Igaly b3eea24e0c HHH-18358 - Fixed infinte recursion in MockEntityPersister.getRootEntityName;
Fixed MockSessionFactory.managedType;
	    ProcessorSessionFactory.qualifyName should return entityClass.getQualifiedName, not entityClass.getSimpleName
2024-08-22 16:10:16 +02:00
Čedomir Igaly 7862b0700a HHH-18358 Bad test case replaced with one based on example from User Guide 2024-08-22 16:10:16 +02:00
Gavin King f99bdd4b8d HHH-18505 fix npe occurring while processing module descriptor
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-22 13:04:13 +02:00
Christian Beikov 94b444b4d8 HHH-18506 Improve flush performance by reducing itable stubs 2024-08-21 18:54:28 +02:00
Steve Ebersole f63e7cb1ac Rebase main -> 7.0
fixups
2024-08-15 13:52:31 -05:00
Steve Ebersole 0b5ce3b341 Rebase main -> 7.0
fixups
2024-08-15 13:52:31 -05:00
Steve Ebersole 4ff20e6114 Rebase main -> 7.0
fixups
2024-08-15 13:52:31 -05:00
Steve Ebersole 6bd37f535c HHH-18060 - HbmXmlTransformer
testing an alternative approach using the boot model
2024-08-15 13:52:30 -05:00
Steve Ebersole 15cef1429d Gradle 9.0 prep 2024-08-15 13:52:30 -05:00
Steve Ebersole d25f028222 HHH-18060 - HbXmlTransformer work
* non-aggregated composite id
* extends
2024-08-15 13:52:29 -05:00
Gavin King 0cbdc44fbc clean up some logging
- reduce some INFO messages to DEBUG
- delete unused messages
- some minor formatting changes

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:29 -05:00
Gavin King ebc253a6f9 more simplifications to persister hierarchy (#8501)
- remove Lockable interface
- remove Queryable, QueryableCollection, and Loadable
- remove most of PropertyMapping stuff
- remove most of Joinable
2024-08-15 13:52:29 -05:00
Gavin King 21b7d3f229 even more removals of deprecated stuff
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:29 -05:00
Gavin King 5c29ed933e more removals of previously-deprecated stuff
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:28 -05:00
Gavin King e7196be0f2 HHH-18139 completely remove org.hibernate.id.factory.*
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:28 -05:00
Christian Beikov ecb8f6afc6 Fix hibernate-processor compilation on JDK 20+ 2024-08-15 13:52:26 -05:00
Christian Beikov a51a861d13 Disable Kotlin tests on s390x until gradle#27273 is fixed 2024-08-15 13:52:25 -05:00
Steve Ebersole 28d348e20b HHH-17460 - Ongoing JPA 32 work 2024-08-15 13:52:25 -05:00
Steve Ebersole 00f1896efc HHH-17460 - Ongoing JPA 32 work 2024-08-15 13:52:25 -05:00
Steve Ebersole 76b2719fed HHH-17460 - Ongoing JPA 32 work
fix ups from rebase
2024-08-15 13:52:25 -05:00
Steve Ebersole c5f1c80040 HHH-17460 - Ongoing JPA 32 work
- mapping defaults & persistence unit defaults
2024-08-15 13:52:24 -05:00
Gavin King e086674878 rename hibernate-jpamodelgen to hibernate-processor 2024-08-15 13:52:24 -05:00