Commit Graph

16813 Commits

Author SHA1 Message Date
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
Gavin King 69e0809bf4 new documentation chapter for @HQL, @SQL, and @Find methods 2023-07-12 21:41:24 +02:00
Gavin King 59fdc46254 HHH-16920 initial prototype support for Reactive in query/finder method generation 2023-07-11 16:30:47 +02:00
Gavin King 70a953e7a8 HHH-16633 completely rework validation for parameters of @HQL query methods 2023-07-11 00:21:19 +02:00
Gavin King b1bdd74432 HHH-16633 support @IdClass in finder methods 2023-07-11 00:21:19 +02:00
Gavin King 10b17a6430 HHH-16633 unbreak support for @Embeddable Java records 2023-07-11 00:21:19 +02:00
Gavin King c8c5d05330 remove incorrect comment 2023-07-10 15:00:18 +02:00
Gavin King 447fa30a89 HHH-16633 add CDI @Dependent annotation if in build path 2023-07-10 14:36:32 +02:00
Gavin King 24db891e84 HHH-16633 better Javadoc and @Nonnull annotations in generated source 2023-07-10 14:36:32 +02:00
Gavin King 02e395c96d HHH-16633 correct handling of null values in criteria-based @Find methods 2023-07-10 14:36:32 +02:00
Gavin King 78843fb2a9 HHH-16633 allow the "session getter" method to not be a getter
add some Javadoc
2023-07-10 14:36:32 +02:00
Gavin King 99d8bf0832 improve Javadoc of org.hibernate.annotations.processing 2023-07-10 14:36:32 +02:00
Gavin King 605a732e05 HHH-16914 add support for EntityGraphs to NaturalIdLoadAccess and SimpleNaturalIdLoadAccess 2023-07-10 14:36:32 +02:00
Gavin King d5c4e2673b HHH-16695 fill in missing javadoc 2023-07-10 14:36:32 +02:00
Gavin King cd75b0baf1 HHH-16633 minor cleanups 2023-07-10 14:36:32 +02:00