Commit Graph

609 Commits

Author SHA1 Message Date
Gavin King 743691e3b2 HHH-18761 add test
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-24 14:07:22 +02:00
Gavin King fb7602a2e5 HHH-18761 fix generation of named query method in presence of Jakarta Data
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-24 14:07:22 +02:00
Steve Ebersole dd8e186416 HHH-18644 - New and improved hibernate-maven-plugin 2024-10-22 08:50:09 -05:00
Andrea Boriero 93af5f2fb1 HHH-18712 Warning about attempts to update an immutable entity for normal (not immutable) entity 2024-10-17 13:45:32 +02:00
Gavin King 599a85de11 respect @Nonnull annotation on @Find method parameters 2024-10-04 12:34:22 +02:00
Gavin King d5102ff9eb fix a bug in generation of @Find method for @NaturalId fields
StatelessSession does not have a byNaturalId() method
2024-10-03 13:45:26 +02:00
Gavin King f474cacf8a more improvements to generated Javadoc in Hibernate Processor 2024-10-02 20:36:32 +02:00
Gavin King cf626df3db don't generate "auxiliary" members for Jakarta Data static metamodel
since it doesn't seem like these are very usueful with the repository
programming model
2024-10-02 18:23:36 +02:00
Gavin King c517833758 add toplevel javadoc to generated classes 2024-10-02 18:23:36 +02: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
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 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
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 15cef1429d Gradle 9.0 prep 2024-08-15 13:52:30 -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
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