10705 Commits

Author SHA1 Message Date
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
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
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
0c1a49604e minor Javadoc improvement to SchemaManagementToolCoordinator 2023-07-13 12:40:31 +02:00
Gavin King
376a90f9b5 Bytebuddy -> Byte Buddy 2023-07-12 21:45:26 +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
db4d529f60 HHH-16633 generate query methods from @NamedQuery annotations 2023-07-10 14:36:32 +02:00
Gavin King
87a320615c HHH-16695 make fetch profiles actually work for natural id loading 2023-07-10 14:36:32 +02:00
Gavin King
17ea1e28b9 HHH-16633 add ability to specify fetch profiles in @Find annotation 2023-07-10 14:36:32 +02:00
Gavin King
09f110254f HHH-16695 add enableFetchProfile() to XxxxIdLoadAccess 2023-07-10 14:36:32 +02:00
Gavin King
2e351831f1 HHH-16695 add enableFetchProfile() to Query 2023-07-10 14:36:32 +02:00
Gavin King
294ec27885 HHH-16913 EntityGraph support for StatelessSession 2023-07-08 19:18:26 +02:00
Gavin King
6b7d5bae3d HHH-16899 refinements to the CriteriaDefinition API 2023-07-08 18:06:21 +02:00
Gavin King
f3eb0ec770 HHH-16899 allow the CriteriaDefinition to modify an existing query 2023-07-08 18:06:21 +02:00
Gavin King
b4b2b295fc HHH-16899 avoid capturing the Session in CriteriaDefinition [as suggested by Sanne] 2023-07-08 18:06:21 +02:00
Gavin King
2d92edd6bb HHH-16899 add test for CriteriaDefinition 2023-07-08 18:06:21 +02:00
Gavin King
7db99d8661 add a link in some package-level javadoc 2023-07-08 18:06:21 +02:00
Gavin King
67ac383c26 HHH-16899 add CriteriaDefinition utility class 2023-07-08 18:06:21 +02:00
Gavin King
a440046556 HHH-16898 add JpaExpression.equalTo() 2023-07-08 18:06:21 +02:00
Gavin King
d7fd5bd78a HHH-16633 add ability to generate @Find methods for @NaturalIds and arbitrary field lists 2023-07-07 22:44:07 +02:00
Gavin King
0c40711563 HHH-16633 add ability to generate @Find methods 2023-07-07 22:44:07 +02:00
Gavin King
d83f472e18 HHH-16909 expose slow queries via Statistics API 2023-07-07 13:25:00 +02:00
Gavin King
33700597af HHH-16909 make setting for slow query logging obey our naming conventions 2023-07-07 13:25:00 +02:00
Yoann Rodière
94b33e6198 HHH-16892 Fix LocalXmlResourceResolver not resolving some dtd URLs that use the https scheme 2023-07-07 13:06:02 +02:00
Dennis Katz
5aac28cb9e HHH-16886 fixed by adding parenthesis
HHH-16886 fixed by adding parenthesis

HHH-16886 test added

HHH-16886 move test to query package and some fixes
2023-07-07 10:22:50 +02:00
Gavin King
135871dbd9 batch of minor improvements to the parser/SemanticQueryBuilder (typesafety) 2023-07-06 12:37:00 +02:00
Gavin
980bf4d8ab restrict offset/fetch to be a Number in the Jpa/Sqm tree types 2023-07-06 10:47:17 +02:00
Gavin
98a83a082c add lots @Override annotations and some generic type args in Jpa types
removed an unused and unimplemented interface
2023-07-06 10:47:17 +02:00
Gavin
41fe405aa7 HHH-16866 remove usages of Sqm types from Jpa APIs
There were quite a few layer-breakers here.

The org.hibernate.criteria package is supposed to be an abstraction over
the SQM tree. It should not leak types from the org.hibernate.sqm package.
2023-07-06 10:47:17 +02:00
Gavin King
f933b064e9 HHH-16633 support new Order and Page objects as parameters of query methods 2023-07-06 01:02:15 +02:00
Sanne Grinovero
19a75aad9e Add note about Hibernate Reactive usage 2023-07-05 17:55:08 +01:00
Gavin King
73c8479bf4 HHH-16815 rename paginate() -> setPage
fix a bug in Page class
2023-07-05 14:43:12 +02:00
Gavin King
7227831d56 HHH-16815 rename getSortOrder() -> getSortDirection() 2023-07-05 13:23:15 +02:00
Gavin King
f2d6373409 HHH-16815 finally settle on using a List or Order objects 2023-07-05 13:23:15 +02:00
Gavin King
c29db563b5 aesthetic improvements to NullPrecedence enum 2023-07-05 13:23:15 +02:00
Gavin King
49f890d781 move NullOrdering to the Dialect package where its usages are 2023-07-05 13:23:15 +02:00