Commit Graph

16877 Commits

Author SHA1 Message Date
Gavin King 5cee742698 HHH-16940 add typesafe ref to ManagedType in metamodel classes 2023-07-16 15:27:12 +02:00
Gavin King 8611abe902 improve a couple of exception messages 2023-07-16 15:27:12 +02:00
Gavin King 52bfbe06f2 HHH-16633 validate the return type of @HQL query methods
(including constructors for record returns)
2023-07-16 15:27:12 +02:00
Gavin King df11070c77 fix three warnings in StringHelper 2023-07-16 09:57:58 +02:00
Gavin King 7634795f83 improved reasoning around nullability of finder method parameters 2023-07-16 09:10:40 +02:00
Sanne Grinovero 64216dd2c9 HHH-16728 Optimise iteration of AssociationType properties within a Persister 2023-07-15 16:26:36 -04:00
Gavin King 7f003150da mention schema validation, and the need for @Entity etc annotations 2023-07-15 13:40:52 +02:00
Gavin King a1abc1af93 make it easier to use the Action enum with Configuration 2023-07-15 13:40:30 +02:00
Sanne Grinovero b214eb332d HHH-16884 Improve efficiency of UpdateCoordinatorStandard in tracking tables to be updated 2023-07-15 05:05:02 -04:00
Jan Schatteman 314f2d7b7a Revert "HHH-16515 - Add o.h.exception to nullness checking"
This reverts commit c5c3bb8ac8.
2023-07-15 00:38:45 +02:00
Gavin King 06ed2072ce mention path-based matching in section on @Find methods 2023-07-15 00:18:23 +02:00
Gavin King 57e47e0ba1 very minor improvements first doc chapter 2023-07-14 23:23:09 +02:00
Gavin King be75adbec8 aesthetic improvements to pdf docs 2023-07-14 22:28:29 +02:00
Gavin King ec8d574e4a path expressions in finder method parameter names
this sounds a bit crazy but why not?
2023-07-14 22:26:48 +02:00
Jan Schatteman c5c3bb8ac8 HHH-16515 - Add o.h.exception to nullness checking
HHH-16515 - Add o.h.integrator to nullness checking

HHH-16515 - Add o.h.service to nullness checking

HHH-16515 - Add o.h.engine.jndi to nullness checking

HHH-16515 - Add o.h.engine.config to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-14 21:42:25 +02:00
Gavin King 781cdc8804 more improvements to the new chapter 2023-07-14 17:50:22 +02:00
Gavin King ae2f73a315 use @Nonnull annotation in generated named query method 2023-07-14 17:50:22 +02:00
Gavin King ec830945e6 HHH-16633 improve jdoc for query methods 2023-07-14 15:49:51 +02:00
Gavin King ded5451436 HHH-16633 allow finder and query methods to accept the session (better impl) 2023-07-14 15:49:51 +02:00
Gavin King 803cd6aa1e HHH-16633 allow finder and query methods to accept the session type as a parameter 2023-07-14 15:49:51 +02:00
Gavin King a80224f921 improvements to Generator doc chapter 2023-07-14 15:08:17 +02:00
Sanne Grinovero c0a6e6f0fc HHH-16900 Move EntityMutationOperationGroup to the same package as related APIs 2023-07-14 06:41:45 -04:00
Sanne Grinovero d0e3298e9d HHH-16900 Restore API combatibiliy by using deprecated default methods 2023-07-14 06:41:45 -04:00
Sanne Grinovero 7d0da9e505 HHH-16900 Optimise implementations of MutationOperationGroup 2023-07-14 06:41:45 -04:00
Sanne Grinovero 441d280109 HHH-16900 Avoid using the old method, ensure by removing the deprecated methods 2023-07-14 06:41:45 -04:00
Sanne Grinovero 045f25511c HHH-16900 Refactor integration tests 2023-07-14 06:41:45 -04:00
Sanne Grinovero c1767adee7 HHH-16900 Rework also the MutationGroup APIs 2023-07-14 06:41:45 -04:00
Sanne Grinovero c608ee3a98 HHH-16900 Rework mutation group API 2023-07-14 06:41:45 -04:00
Andrea Boriero 814923dd46 HHH-16810 Fail to delete entity with a composite id using an @IdClass with one of its fields mapped from the id of a @ManyToOne association 2023-07-14 11:32:20 +02:00
Andrea Boriero b9e2105639 HHH-16810 Add test for issue 2023-07-14 11:32:20 +02:00
Andrea Boriero dac288d1bb HHH-16811 Dirty property lost and not detected with Batch Fetch, Embedded and FetchMode SELECT 2023-07-14 11:25:03 +02:00
Andrea Boriero ac9a5fc42c HHH-16811 Add test for issue 2023-07-14 11:25:03 +02:00
Andrea Boriero ebfaf1c707 HHH-16586 When merging a persisted entity with a null Version, Hibernate treats entity as transient instead of throwing an Exception 2023-07-14 11:20:29 +02:00
Andrea Boriero daf8bcc581 HHH-16586 Add test for issue 2023-07-14 11:20:29 +02:00
Gavin King 5a07e2b61d fix a test which was failing on h2 version 1.x 2023-07-13 23:14:50 +02:00
Gavin King e125a818e3 HHH-16899 add restrict() to CriteriaDefinition 2023-07-13 23:12:16 +02:00
Gavin King dc22773a9f document CriteriaDefinition 2023-07-13 20:38:01 +02:00
Gavin King af7e7b9afc make it possible to get a named EntityGraph without an unchecked typecast 2023-07-13 18:20:41 +02:00
marko-bekhta 35ea74ec54 HHH-16695 Make AbstractQuery backwards compatible 2023-07-13 18:19:47 +02:00
Steve Ebersole 8386e1851e HHH-16917 - Number not allowed as type for procedure query parameter 2023-07-13 08:48:35 -05:00
Gavin King 8031952d86 document Query Validator, and add a TIP about Metamodel 2023-07-13 14:03:30 +02:00
Marco Belladelli 0aa5b5018f HHH-16845 Fix collection key parameter 2023-07-13 13:43:26 +02:00
Marco Belladelli 29d2ef730e HHH-16845 Add test for issue 2023-07-13 13:43:26 +02:00
Gavin King 7c67097fb0 HHH-16815 fixes to Page class
- prevent construction of negative Pages
- add Page.isFirst()
- fix impl of Page.previous()
2023-07-13 12:41:23 +02:00
Gavin King 96e6476199 HHH-16633 no need to cast to SelectionQuery to call setPage() 2023-07-13 12:41:23 +02:00
Gavin King 0c1a49604e minor Javadoc improvement to SchemaManagementToolCoordinator 2023-07-13 12:40:31 +02:00
Gavin King 5c5d2c2f94 HHH-16633 test for AccessType.PROPERTY in @Find method parameter matching 2023-07-13 10:59:32 +02:00
Gavin King 8681d702a4 HHH-16633 support AccessType.PROPERTY in @Find method parameter matching 2023-07-13 10:59:32 +02:00
Gavin King 376a90f9b5 Bytebuddy -> Byte Buddy 2023-07-12 21:45:26 +02:00
Gavin King 45af5c2f5a oops, remove a debugging statement that I accidentally committed 2023-07-12 21:43:51 +02:00