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
Christian Beikov
d423b52be3
HHH-17904 Introduce config property to enable native enum type
2024-03-28 17:02:20 +01:00
Christian Beikov
95641b2366
HHH-17884 Respect ordering guarantee of ORDINAL/STRING when using native enums
2024-03-28 17:02:20 +01:00
Christian Beikov
7e29539153
HHH-17493 Ensure case insensitivity is retained in negated copy
2024-03-28 16:44:39 +01:00
Jan Schatteman
6717c7cba0
HHH-17493 - add tests and fix
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 16:44:39 +01:00
Yanming Zhou
3c2374de5c
HHH-12202 Introduce ParameterType.getReturnedJavaType() as companion of getReturnedClass()
2024-03-28 16:09:16 +01:00
Vincent Bouthinon
915c8b8ead
HHH-17871 Error if defining a ManyToAny in the child classes which references a @MappedSuperclass
...
Rename column "ROLE" to "ROLE_COL" for a problem with sybase
2024-03-28 16:07:35 +01:00
Vincent Bouthinon
fdd3ded888
HHH-17871 Error if defining a ManyToAny in the child classes which references a @MappedSuperclass
2024-03-28 16:07:35 +01:00
Jan Schatteman
454e1cb774
HHH-17824 - Extend the use of @Jpa to test methods
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 08:51:49 -05:00
Steve Ebersole
ddcfc54661
HHH-17429 - Complete implementation of HbmXmlTransformer (6.x)
...
HHH-16822 - Fail to marshall transformed content with HbmXmlTransformer
2024-03-28 07:12:20 -05:00
Gavin King
2955e0b91d
spec-compliant inference of entity type in @Query
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 00:41:01 +01:00