Commit Graph

18034 Commits

Author SHA1 Message Date
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
Gavin King a12d589e77 use getAllMembers() when resolving Jakarta Data paths 2024-03-25 18:06:00 +01:00
Yoann Rodière 2c2413a773 Tag the JDK used to run tests, not the one used to run Gradle 2024-03-25 18:05:54 +01:00
Yoann Rodière d3151f0e55 Fix db/ci.node not being added to build scan tags 2024-03-25 18:05:48 +01:00
Gavin King f70c197b14 fix an ancient error message 2024-03-25 18:05:41 +01:00
Gavin King 4dc437b9aa use createMutationQuery() and createSelectionQuery()
squashes a deprecation warning in Maven
2024-03-25 18:05:24 +01:00
Gavin King d1734a3964 add missing processor dependencies that are needed in Maven
Gradle didn't need these
2024-03-25 18:05:20 +01:00
Gavin King 2d9f633188 move Quarkus Repositories to normal scope 2024-03-25 18:05:14 +01:00
Gavin King 0ef576a19b simplification to JD generated code
because I got a requirement removed from spec
2024-03-25 18:05:09 +01:00
Gavin King 361c146928 HHH-17864 generate static metamodel fields for embeddables 2024-03-25 18:05:03 +01:00
Gavin King 69c5163d1b we changed Iterable -> List in Data spec 2024-03-25 18:04:43 +01:00
Gavin King 3676a9249b aesthetic fix to the processor-generated jdoc 2024-03-25 18:04:21 +01:00
Gavin King bac64565cd HHH-17860 report bad return type for @Delete 2024-03-25 18:04:18 +01:00
Gavin King c552c24c88 HHH-17860 query-based @Delete 2024-03-25 18:04:14 +01:00
Gavin King 7a375edb05 mention that tuples can be compared to embeddables in doc 2024-03-25 18:04:09 +01:00
Gavin King 3c1cdec461 HHH-17875 validate association mappings in processor 2024-03-25 18:03:57 +01:00
Gavin King 50af2eef15 introduce @Suppress annotation to disable processor 2024-03-25 18:03:52 +01:00
Gavin King 8bc09c976a HHH-17875 validate association mappings in processor 2024-03-25 18:03:48 +01:00
Marco Belladelli edc759f612 Fix backticks rendering in `release-announcement.adoc` 2024-03-25 18:03:13 +01:00
Gavin King 985887964d HHH-17873 handle generic supertypes of repositories 2024-03-25 18:03:09 +01:00
Gavin King ae56e16b6d HHH-17873 much better and now spec-compliant handling of repo inheritance
I got the spec changed to make this good :)
2024-03-25 18:03:06 +01:00
Gavin King 2a498d7c7d HHH-17873 some handling for generics in lifecycle method signatures 2024-03-25 18:03:02 +01:00
Gavin King 394d0c8ab2 HHH-17873 initial impl of repository inheritance
needed for Jakarta Data, and useful
limited to single inheritance for now
2024-03-25 18:02:58 +01:00
Yoann Rodière 2e6ac15aab Remove non-fonctional "JOB_NAME" custom value in build scans
It doesn't seem to work as we get "JOB null" on every build scan.
Even if it worked, it would most likely only display the top-level job,
e.g. `hibernate-orm-pipeline` on Jenkins, which doesn't give much
information.
2024-03-25 18:02:45 +01:00
Yoann Rodière 9f9991d893 Add more tags to build scans 2024-03-25 18:02:42 +01:00
Yoann Rodière fb81bb6cfc List build scans in a GitHub check
Using hibernate-github-bot.
2024-03-25 18:02:39 +01:00
Yoann Rodière 96fc18f4e8 Add Develocity build scan + build cache to Jenkins build 2024-03-25 18:02:35 +01:00
Gavin King 65911ae995 extract a method 2024-03-25 18:01:32 +01:00
Gavin King 75cbae9a7c HHH-17874 deprecate @GenericGenerator 2024-03-25 18:00:54 +01:00
Gavin King 77c3744895 use a static final since we have it sitting there 2024-03-25 18:00:42 +01:00
Marco Belladelli 78d1d2bf67 HHH-17472 Update 6.5 release announcement using `@IdGeneratorType` 2024-03-25 18:00:28 +01:00
Marco Belladelli c1b08194db HHH-17472 Move `allowAssignedIdentifiers()` up to `Generator` interface
Also test with `@IdGeneratorType`
2024-03-25 18:00:04 +01:00
Marco Belladelli 43f70b7263 Fix release announcement paragraph about assigned generated ids 2024-03-25 17:59:43 +01:00
Gavin King fe466ddea8 fix a code example I rushed last night 2024-03-25 17:59:33 +01:00