11636 Commits

Author SHA1 Message Date
Marco Belladelli
07692edf9a HHH-17783 Add test for issue 2024-04-12 11:14:46 -05:00
Yanming Zhou
71234d90ae HHH-17912 Disallow multiple valued binding for BasicCollectionType 2024-04-12 11:00:23 -05:00
Christian Beikov
b4603e0e40 HHH-17932 Get rid of unnecessary synchronization 2024-04-12 14:01:50 +02:00
Yanming Zhou
95403bc083 Use Integer.MAX_VALUE instead for better readability 2024-04-12 13:42:47 +02:00
Christian Beikov
62a973dce0 HHH-17947 Bidirectional association management shouldn't ignore maintaining inverse lazy objects 2024-04-12 13:28:21 +02:00
Christian Beikov
c624048635 HHH-17947 Add additional test for unique key loading 2024-04-12 13:28:21 +02:00
Jan Schatteman
68049bbf74 HHH-17947 - Add test for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-04-12 13:28:21 +02:00
Gavin King
dd209f9851 add missing @since annotations
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 10:36:20 +02:00
Gavin King
0944b52bc3 add a missing @since annotation
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 23:59:54 +02:00
Andrea Boriero
f27dc7d3a8 Fix mssql LobSchemaUpdateTest failure 2024-04-11 22:40:12 +02:00
Gavin King
afc92451d9 HHH-17934 limit test to databases with proper MERGE support for now
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 16:52:30 +02:00
Gavin King
e620fbb892 HHH-17934 sort out version handling in upsert()
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 16:52:30 +02:00
Gavin King
17df9bedf5 HHH-17934 generate a correct SQL merge statement
(adds the version check if necessary)

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 16:52:30 +02:00
Gavin King
3fe1f58c93 HHH-17934 test demonstrating bug
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 16:52:30 +02:00
Marco Belladelli
bcbae00552 HHH-17832 Register projection usage for circular bidirectional fetch 2024-04-11 16:33:14 +02:00
Marco Belladelli
747a1024da HHH-17832 Add test for issue 2024-04-11 16:33:14 +02:00
Yanming Zhou
d8df261847 Fix SqlTypes::isStringType 2024-04-11 13:48:06 +02:00
Yanming Zhou
fc7fc47b64 Add more type name alias mappings
1. MySQL returns `int` even `integer` is specified
2. H2 returns `character large object` and `binary large object` even `clob` and `blob` is specified
2024-04-11 13:47:03 +02:00
Mohammad Yasin Sadeghi
64e52022bc correct a typo 2024-04-10 19:16:18 +02:00
Gavin King
0ea86a9d07 get rid of raw types and extract methods
eliminates compiler warnings

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-10 18:03:30 +02:00
Gavin King
97f96d841d improve error message, as suggested by Yoann
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-10 18:03:30 +02:00
Christian Beikov
2343bfa513 Skip DB2 test on old DB2 versions 2024-04-10 16:24:44 +02:00
Yoann Rodière
56105a8fc6 HHH-17935 Do not use the "auto-enable" feature for the tenant ID filter
This filter already gets enabled automatically where relevant, and
critically it's not relevant when using a "root" tenant identifier.
2024-04-10 14:43:53 +02:00
Marco Belladelli
ce97a5da2c HHH-10921 Add test for issue 2024-04-09 17:16:39 +02:00
Andrea Boriero
e95eaf6cb3 HHH-17887 Release mode After Statment with deferred result set access does not work 2024-04-09 07:46:52 +02:00
Andrea Boriero
189de9dab7 HHH-17887 Add test for issue 2024-04-09 07:46:52 +02:00
Gavin King
3fb0f83990 fix previous-page navigation with KeyedResultList
It was returning the results in reverse order.
This caused a failure in the Data TCK.

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-08 22:37:06 +02:00
Andrea Boriero
b5e78cf9d0 HHH-17826 ResultSet closed while scrolling results 2024-04-08 16:26:57 +02:00
Andrea Boriero
bd740f2dbf HHH-17826 Add test for issue 2024-04-08 16:26:57 +02:00
Marco Belladelli
aa7575aabd HHH-17857 Use fromNameExact when determining actual table group 2024-04-08 16:17:19 +02:00
Marco Belladelli
5c51ff93c6 HHH-17857 Add test for issue 2024-04-08 16:17:19 +02:00
Christian Beikov
bcae77fb32 HHH-17885 Fix for same named attribute of different Embedded uses same selection expression 2024-04-04 09:24:22 +02:00
Christian Beikov
1fe26bc7f4 HHH-17885 Test for same named attribute of different Embedded uses same selection expression 2024-04-04 09:24:22 +02:00
Andrea Boriero
d18d925e10 HHH-17881 Unable to use a proxy as parameter in Query when the FK does not target the PK 2024-04-03 13:58:08 +02:00
Andrea Boriero
8c8e52eae9 HHH-17881 Add test for issue 2024-04-03 13:58:08 +02:00
Andrea Boriero
c6a9278599 HHH-16672 Locking entities created in the same transaction fails 2024-04-03 13:56:18 +02:00
Daniel Mensinger
ca2ae23f78 HHH-16672 test case 2024-04-03 13:56:18 +02:00
Marco Belladelli
cf4af826fe HHH-17828 Special case for uninitialized enhanced proxies when locking 2024-04-03 09:54:21 +02:00
Daniel Mensinger
47d8bea6a4 HHH-17828 Add test for issue 2024-04-03 09:54:21 +02:00
Christian Beikov
b567483f9f HHH-17908 Allow varchar for STRING enums on MySQL in schema validation 2024-04-02 16:43:30 +02:00
Christian Beikov
dba8a54692 HHH-17898 Throw error if non-lateral from-clause subquery uses outer from node 2024-04-02 16:41:59 +02:00
Marco Belladelli
37714a6b1a HHH-17835 Custom ConvertedPrimitiveBasicTypeImpl type resolution 2024-04-02 12:48:17 +02:00
Marco Belladelli
50acce43c3 HHH-17835 Add test for issue 2024-04-02 12:48:17 +02:00
Marco Belladelli
af747ad531 HHH-17803 Fix resolving enum basic path source mapping expressibles 2024-03-29 10:40:15 +01:00
Marco Belladelli
437a2e5cd3 HHH-17803 Add test for issue 2024-03-29 10:40:15 +01:00
Jan Schatteman
edb1126d4d HHH-17493 - Merge WithJpaComplianceNegatedPredicateTest into NegatedPredicateTest (possible now after the merge of PR #7990)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 23:04:22 +01:00
Gavin King
3dc5896a08 handle inner enum literal in HQL
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 22:32:41 +01:00
Gavin King
ce317960fc handle unqualified enum values in @Query
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 22:32:41 +01:00
Gavin King
f0c9d4ec4c make fully-qualified enum literals in @Query pass the validation
JD examples and TCK require this, though it's not really correct

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 22:32:41 +01:00
Christian Beikov
fe4a3fbaf3 HHH-17906 Use insert target paths for type inference of SqmValues 2024-03-28 17:02:20 +01:00