Steve Ebersole
538cad670f
fix hibernate-scan-jandex definitions
2024-11-13 17:41:38 -06:00
Gavin King
65b9b43756
add Order.reversedIf() and ignoringCaseIf() to simplify generated code
2024-11-13 09:29:27 +01:00
Gavin King
3457b2d283
HHH-18826 mappedBy validation in Processor
...
tolerate a mappedBy which refers to a parent id field rather than an association
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-11-08 10:12:20 +01:00
nathan.xu
2eeb6153ff
HHH-18754 improve HQLParser's error listener usage in StandardHqlTranslator
2024-11-06 21:36:28 -06:00
Marco Belladelli
1c87d73d2e
HHH-18569 Don´t implicitly cast when using a subtype attribute name with Criteria API
2024-11-04 10:35:19 +01:00
Gavin King
d25a86b12d
minor fix to generated @see jdoc annotation in @Find method
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-25 01:34:41 +02:00
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
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