11384 Commits

Author SHA1 Message Date
Christian Beikov
adbf8946da HHH-17854 Avoid adding plural attribute restrictions multiple times 2024-03-18 12:53:33 +01:00
subijayb
1d89c31e5e HHH-17743 Allow updates outside transaction 2024-03-15 17:43:09 +01:00
Christian Beikov
c778565c7b HHH-17830 Fix rendering custom predicate for element collection joins 2024-03-15 15:41:42 +01:00
Marco Belladelli
037336ea83 HHH-17711 Fix table reference join resolution for joined subtype 2024-03-14 14:09:20 +01:00
Marco Belladelli
d49ad70ad2 HHH-17711 Add test for issue 2024-03-14 14:09:20 +01:00
Cedomir Igaly
e1d326ef3e HHH-17600 - Properly setting next index if ListIndexBase annotation is present 2024-03-14 13:36:52 +01:00
Cedomir Igaly
16a3bfb20c HHH-17600 - Changed test class to really test handling of ListIndexBase annotation 2024-03-14 13:36:52 +01:00
Gavin King
b170f2dedd HHH-17825 fix npe for single-column @UniqueConstraint
Note that HHH-17132 already attempted to fix the reported
problem, but the fix introduced a new bug, and NPE.
2024-03-14 12:17:23 +01:00
Jan Schatteman
7da31dfd6d HHH-17671 - Fix issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-14 12:07:54 +01:00
Jan Schatteman
5b8f326839 HHH-17671 - Add test for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-14 12:07:54 +01:00
marko-bekhta
2e2d0b696b HHH-17823 Add FK to identifier in HQL parser 2024-03-14 12:00:25 +01:00
Marco Belladelli
7e2a49f542
HHH-17763 Run test only on H2 2024-03-08 12:41:57 +01:00
Marco Belladelli
297652ab06
HHH-17638 Prevent reusing left joins for implicitly joined paths 2024-03-07 09:19:18 +01:00
Marco Belladelli
defe7e4d95
HHH-17638 Add test for issue 2024-03-07 09:19:18 +01:00
Jan Schatteman
3f7c26e4e5 HHH-17776 - Fix whitespace padding issues for literals in select expressions on Derby and HSQLDB
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-05 22:11:40 +01:00
Jan Schatteman
dcf91aadca HHH-17776 - Add test and fix
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-05 22:11:40 +01:00
Marco Belladelli
c956208926
HHH-17763 Rely on action-specific SchemaFilter instances
Deprecated `ExecutionOptions#getSchemaFilter` which was always returning the default implementation (not filtering anything)
2024-03-04 17:14:08 +01:00
Marco Belladelli
89dfa61b0c
HHH-17763 Add test for issue 2024-03-04 17:14:07 +01:00
Marco Belladelli
38ad704ea2
HHH-17769 Ignore query options limit when rendering cte definitions 2024-03-04 12:33:00 +01:00
Marco Belladelli
69aee62231
HHH-17769 Add test for issue 2024-03-04 12:33:00 +01:00
Marco Belladelli
0286006991
HHH-17726 Cleanup java types missing same type in wrap/unwrap 2024-02-28 16:31:21 +01:00
Marco Belladelli
3f60909967
HHH-17726 Add test for issue 2024-02-28 16:31:20 +01:00
datazuul
b139d449c8 HHH-17275: Fix NPE in BooleanJavaType for converter returning NULL for relational value 2024-02-28 13:35:11 +01:00
Marco Belladelli
62e6732206
HHH-17750 Handle bytecode-enhanced proxies in context identifier 2024-02-27 15:23:30 +01:00
marko-bekhta
6eadbde9eb
HHH-17750 Add a reproducer 2024-02-27 15:23:29 +01:00
Christian Beikov
5efb33b5a2 HHH-17734 Ensure provider_class has precedence over datasource 2024-02-22 13:31:54 +01:00
Gavin King
3b9014cdbf HHH-17755 add test for issue 2024-02-20 16:56:28 +01:00
Gavin King
e51d03c0ba HHH-17755 fix inferral of @IdClass column mapping from @MapsId 2024-02-20 16:56:28 +01:00
Gavin King
22b1d606c5 fix spelling of method name 2024-02-20 16:56:28 +01:00
Gavin King
d1db92c220 very minor code changes to ForeignGenerator 2024-02-20 16:56:28 +01:00
Gavin King
78cd0175cc HHH-17755 make @MapsId work correctly with @IdClass
the @Id property was not getting populated
2024-02-20 16:56:28 +01:00
Marco Belladelli
d29cb697f9
HHH-17730 Account for immutable embedded ids during merge 2024-02-20 14:11:25 +01:00
Marco Belladelli
76027709b1
HHH-17730 Add test for issue 2024-02-20 14:11:25 +01:00
Ken Schosinsky
fff89542a6 HHH-17742 Fix race condition in ConcreteSqmSelectQueryPlan 2024-02-19 14:16:59 +01:00
Ken Schosinsky
9fc1ba259f HHH-17742 Test for race condition in ConcreteSqmSelectQueryPlan
Race condition occurs when two or more concurrent reach the synchronized
block in ConcreteSqmSelectQueryPlan#withCacheableSqmInterpretation. The
latter ones will see the cacheableSqmInterpretation by the first one,
but don't check whether it is compatible
(jdbcSelect.dependsOnParameterBindings(), jdbcSelect.isCompatibleWith).

On MySQL this can cause "limit null,1" to be rendered if the first query
has both offset and limit, the latter ones only a limit.
2024-02-19 14:16:59 +01:00
Marco Belladelli
a4cbe2f95a
HHH-17096 Always initialize table group for subtype treated joins 2024-02-16 16:30:21 +01:00
Marco Belladelli
c6c9671385
HHH-17096 Add test for issue 2024-02-16 16:30:17 +01:00
Marco Belladelli
2e9e472bd7
HHH-17508 Fix using union queries as CTE in criteria 2024-02-16 11:58:14 +01:00
Marco Belladelli
584518d609
HHH-17508 Add test for issue 2024-02-16 11:58:14 +01:00
Marco Belladelli
08db8487b0
HHH-17701 Use relational java type when resolving mapping expressibles 2024-02-16 11:55:21 +01:00
Marco Belladelli
6b56b7e737
HHH-17701 Add test for issue 2024-02-16 11:55:21 +01:00
Marco Belladelli
46dffe3336
HHH-17695 Skip rendering null nested JSON aggregate embeddables 2024-02-16 10:47:01 +01:00
Marco Belladelli
d865ec9e36
HHH-17695 Add test for issue 2024-02-16 10:47:00 +01:00
Gavin King
d234b4eea9 HHH-14821 consistent use of exception types
(and exception message formats)
2024-02-09 13:56:19 +01:00
Yanming Zhou
d6390ce79f HHH-17719 Supports boolean as return type of mutation query method 2024-02-09 13:56:19 +01:00
Gavin King
8346b7132d more blurb about finder/query methods 2024-02-09 13:56:19 +01:00
Gavin King
594fd2f4aa add missing package-info 2024-02-09 13:56:19 +01:00
Gavin King
ee33347786 HHH-17716 implement JtaTransactionAdapterTransactionManagerImpl.setTimeOut() 2024-02-09 13:56:19 +01:00
Gavin King
d36131eff5 big code example in package doc for org.hibernate.annotations.processing 2024-02-09 13:56:19 +01:00
Gavin King
da04eb7736 improve format of error messages relating to getters/setters 2024-02-09 13:56:19 +01:00