17695 Commits

Author SHA1 Message Date
Christian Beikov
1d1278e58d HHH-17759 Avoid costly string search and replace 2024-03-25 16:16:25 +01:00
dgh
b9aa76625b HHH-17759 Avoid need for undocumented escaping of colon characters in native queries 2024-03-25 16:16:25 +01:00
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
Laurent SCHOELENS
d1f1e6e8b9 HHH-17579 fix classloader issues with JAXBContext since JDK11 2024-03-14 16:14:39 +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
Christian Beikov
85a2752c1d HHH-17808 NPE when null vector is read with VectorJdbcType 2024-03-05 16:46: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
Christian Beikov
13678e4124 HHH-17765 Support some special chars in query method queries 2024-02-21 17:18:32 +01:00
Yoann Rodière
104eb3cf32 Actually set JVM options in JavaModulePlugin
The previous implementation was not doing anything: somehow Gradle was
erasing any change. Most likely the list passed to setJvmArgs is getting
copied and later changes to that list are just ignored.
2024-02-20 17:06:28 +01:00
Yoann Rodière
b746466896 Fix quoting problem in Jenkinsfile 2024-02-20 17:06:28 +01:00
Yoann Rodière
aa15081c2a Revert "Make sure test.jdk.launcher.args is passed as jvm args to test launcher"
This reverts commit d7a46451ce7bc3ba3ce3cb0a7eada5ab824e4e1a.
2024-02-20 17:06:28 +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
Gavin King
8215a28fcc HHH-17661 add test for issue 2024-02-20 16:56:28 +01:00
Gavin King
b21786ace0 HHH-17613 - don't use reduce() 2024-02-20 16:56:28 +01:00
Cedomir Igaly
e427ff47a9 HHH-17613 - Adding recursion; avoiding regular expression 2024-02-20 16:56:28 +01:00
Cedomir Igaly
ce805efc0b HHH-17613 - Fixing type import 2024-02-20 16:56:28 +01:00
Cedomir Igaly
23f5b45b5c HHH-17613 - Test case demonstrating the problem 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
Christian Beikov
c44823a326 Make sure test.jdk.launcher.args is passed as jvm args to test launcher 2024-02-19 14:38:30 +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