Commit Graph

18167 Commits

Author SHA1 Message Date
Gavin King 16ebcc427b HHH-17882 accept a list of warnings to suppress in addSuppressWarningsAnnotation
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:37:21 +02:00
Gavin King 26beb3db64 tolerate badly-typed PageRequest parameters
as required by Jakarta Data TCK

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:37:13 +02:00
Gavin King 1551afc4ef minor cleanup to annotation handling in processor
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:37:08 +02:00
Gavin King 108374d4f0 let a handwritten metamodel "override" the generated one
used in the JD TCK (ffff)

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:37:03 +02:00
Gavin King e829a01aee fix a bug in @Query handling
add a test for empty query string in @Query

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:36:51 +02:00
Gavin King 39f09aecae handle inner enum literal in HQL
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:36:28 +02:00
Gavin King 6de223572e handle unqualified enum values in @Query
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:36:23 +02:00
Gavin King 8caa7096fb make fully-qualified enum literals in @Query pass the validation
JD examples and TCK require this, though it's not really correct

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:36:18 +02:00
Marco Belladelli 0e9da568c8 HHH-17835 Custom ConvertedPrimitiveBasicTypeImpl type resolution 2024-04-02 12:33:30 +02:00
Marco Belladelli 76d4768d26 HHH-17835 Add test for issue 2024-04-02 12:33:27 +02:00
Marco Belladelli a79ebfec97 HHH-17803 Fix resolving enum basic path source mapping expressibles 2024-03-29 10:39:18 +01:00
Marco Belladelli dc18d92702 HHH-17803 Add test for issue 2024-03-29 10:39:13 +01:00
Christian Beikov f698c6e2e4 HHH-17493 Ensure case insensitivity is retained in negated copy 2024-03-28 16:45:55 +01:00
Jan Schatteman 9527cbaa4a HHH-17493 - add tests and fix
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 16:45:55 +01:00
Yanming Zhou fa2e8f73e7 HHH-12202 Introduce ParameterType.getReturnedJavaType() as companion of getReturnedClass() 2024-03-28 16:09:33 +01:00
Vincent Bouthinon 5c2fb290f5 HHH-17871 Error if defining a ManyToAny in the child classes which references a @MappedSuperclass
Rename column "ROLE" to "ROLE_COL" for a problem with sybase
2024-03-28 16:07:56 +01:00
Vincent Bouthinon 82f45fc741 HHH-17871 Error if defining a ManyToAny in the child classes which references a @MappedSuperclass 2024-03-28 16:07:56 +01:00
Gavin King c32f0a08fa hack in acceptance of PageRequest<?>
JD examples and TCK require this, though it's not really correct

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 10:03:28 +01:00
Gavin King 091ba9af76 fix bug in checking of PageRequest type arg
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 10:03:28 +01:00
Gavin King 39fb5a6549 support 'this' with @Query repository methods
in a very temporary way

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 10:03:28 +01:00
Gavin King 49d440e653 fix handling of @By("id(this)")
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 10:03:27 +01:00
Gavin King b2ec831e81 spec-compliant inference of entity type in @Query
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 10:03:27 +01:00
LLEFEVRE 16f9ca0426 HHH-17736 Improve Atlas for atps 2024-03-27 18:07:07 +01:00
LLEFEVRE 9891971d03 HHH-17736 Improve Atlas for atps 2024-03-27 18:07:07 +01:00
LLEFEVRE c94bd1feef HHH-17736 Improve Atlas for atps 2024-03-27 18:07:06 +01:00
LLEFEVRE d6f928d0ae HHH-17736 Improve Atlas for atps 2024-03-27 18:07:06 +01:00
Christian Beikov bb51c9772f Change branch name in GH actions workflows to 6.5 2024-03-27 16:42:23 +01:00
Christian Beikov c5520590d4 HHH-17897 Fix support for joining CTEs in HQL 2024-03-27 16:42:23 +01:00
Vladimír Kuruc 18c1c5a81f HHH-17862 Fix TemporaryTable identity column sqlTypeName error 2024-03-27 16:31:51 +01:00
Stéphane Épardaud b16729b8a7 Update javax.transaction to jakarta.transaction 2024-03-27 16:27:38 +01:00
Yanming Zhou 8d73b5892e Fix that `foreignKeyEnabled` is not copied 2024-03-27 14:16:03 +01:00
Vladimír Kuruc bf83673a57 HHH-14080 fix Dialect-Aware Rendering of Null Value Literals for InformixDialect 2024-03-27 13:34:31 +01:00
Gavin King 3fcf0e0f0c HHH-17895 add comment
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King 09e7b6dd16 HHH-17895 workaround for bug in Java 21
also be more careful about type annotations in comparing types

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King 6b9d6ef4fb HHH-17895 tests for Bean Validation annotations in Jakarta Data
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King 72fab5af89 HHH-17891 support method-level interceptors for JD repositories
as required by the spec

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King 40440a6089 HHH-17891 support toplevel interceptors for JD repositories
as required by the spec

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King 9b3c86f571 eliminate duplicate error messages
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King 8d238536ae test and fix for bug in repo method parameter checking
this lead to a TCK failure

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King 80792f5b8d more information about errors relating to inherited members in processor
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King 8148c32cd7 experimental support for reactive Jakarta Data repositories
some cleanup

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King fb4d91db8e experimental support for reactive Jakarta Data repositories
this time with uni-fied access to the M.SS

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-27 11:39:53 +01:00
Gavin King c9777dcd57 experimental support for reactive Jakarta Data repositories 2024-03-27 11:39:52 +01:00
Gavin King 1c6d272919 support for 'id(this)'
just changed this in JD
2024-03-27 11:39:52 +01:00
Davide D'Alto 1aa701d435 HHH-17876 Changes for Hibernate Reactive 2.3
Change the scope of some methods and add some getters, so that
subclasses in Hibernate Reactive can reuse some of the existing code.
2024-03-27 10:35:44 +01:00
Davide D'Alto 3cf9999ccf HHH-17876 Minor: remove empty else block 2024-03-27 10:35:44 +01:00
Davide D'Alto 80e54a5937 HHH-17876 Minor syntax fix in comment 2024-03-27 10:35:44 +01:00
Marco Belladelli 7e7113cc45 HHH-17867 Add test for issue 2024-03-25 18:14:11 +01:00
Marco Belladelli ddb2324736 HHH-17878 `Configurable` generators and `@IdGeneratorType` 2024-03-25 18:06:38 +01:00
Gavin King be9466ede4 fix a couple of warnings 2024-03-25 18:06:05 +01:00