Gavin King
e9b0656f94
add missing @since annotations
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:34:32 +02:00
Gavin King
40f1f616cb
add a missing @since annotation
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:34:28 +02:00
Andrea Boriero
90e80efa48
Fix mssql LobSchemaUpdateTest failure
2024-04-12 13:34:09 +02:00
Gavin King
cf184bef64
HHH-17934 limit test to databases with proper MERGE support for now
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:33:50 +02:00
Gavin King
a9f1681bfc
HHH-17934 sort out version handling in upsert()
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:33:45 +02:00
Gavin King
da8a56b9c5
HHH-17934 generate a correct SQL merge statement
...
(adds the version check if necessary)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:33:41 +02:00
Gavin King
b780e6ee77
HHH-17934 test demonstrating bug
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:33:35 +02:00
Yanming Zhou
e9a7a57d13
Fix SqlTypes::isStringType
2024-04-12 13:33:14 +02:00
Yanming Zhou
4ca8377500
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-12 13:33:10 +02:00
Mohammad Yasin Sadeghi
030bc54eea
correct a typo
2024-04-12 13:32:50 +02:00
Gavin King
2e4ef2e252
get rid of raw types and extract methods
...
eliminates compiler warnings
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:32:38 +02:00
Gavin King
85e764ee3b
improve error message, as suggested by Yoann
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:32:32 +02:00
Christian Beikov
4b863b180e
HHH-17947 Bidirectional association management shouldn't ignore maintaining inverse lazy objects
2024-04-12 13:29:19 +02:00
Christian Beikov
6112a1809e
HHH-17947 Add additional test for unique key loading
2024-04-12 13:29:19 +02:00
Jan Schatteman
fd9a5b9861
HHH-17947 - Add test for issue
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-04-12 13:29:19 +02:00
Marco Belladelli
75de08372e
HHH-17832 Register projection usage for circular bidirectional fetch
2024-04-11 16:33:17 +02:00
Marco Belladelli
a502842b5c
HHH-17832 Add test for issue
2024-04-11 16:33:17 +02:00
Yoann Rodière
0e0437715b
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:59 +02:00
Christian Beikov
94f17a92e0
HHH-17904 Introduce config property to enable native enum type
2024-04-10 14:11:44 +02:00
Christian Beikov
5d16b90826
HHH-17906 Use insert target paths for type inference of SqmValues
2024-04-10 14:11:40 +02:00
Christian Beikov
73038b47ab
HHH-17884 Respect ordering guarantee of ORDINAL/STRING when using native enums
2024-04-10 14:11:36 +02:00
Marco Belladelli
661fe9ede0
HHH-10921 Add test for issue
2024-04-09 19:17:00 +02:00
Gavin King
cd06e56ab2
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-09 10:05:53 +02:00
Andrea Boriero
a4f64540e7
HHH-17887 Release mode After Statment with deferred result set access does not work
2024-04-09 07:47:06 +02:00
Andrea Boriero
486d45bd13
HHH-17887 Add test for issue
2024-04-09 07:47:06 +02:00
Andrea Boriero
d7d2294bd9
HHH-17826 ResultSet closed while scrolling results
2024-04-08 16:27:08 +02:00
Andrea Boriero
1b5419b6af
HHH-17826 Add test for issue
2024-04-08 16:27:08 +02:00
Marco Belladelli
36fd9d5e18
HHH-17857 Use fromNameExact
when determining actual table group
2024-04-08 16:17:22 +02:00
Marco Belladelli
c68924d5c8
HHH-17857 Add test for issue
2024-04-08 16:17:22 +02:00
Christian Beikov
4f92a5b379
HHH-17885 Fix for same named attribute of different Embedded uses same selection expression
2024-04-04 09:24:43 +02:00
Christian Beikov
17f0b56e85
HHH-17885 Test for same named attribute of different Embedded uses same selection expression
2024-04-04 09:24:43 +02:00
Andrea Boriero
9c49a4de07
HHH-17881 Unable to use a proxy as parameter in Query when the FK does not target the PK
2024-04-03 13:58:32 +02:00
Andrea Boriero
cd9bc2bb22
HHH-17881 Add test for issue
2024-04-03 13:58:32 +02:00
Andrea Boriero
5eacb26f09
HHH-16672 Locking entities created in the same transaction fails
2024-04-03 13:56:36 +02:00
Daniel Mensinger
aba5ac47a0
HHH-16672 test case
2024-04-03 13:56:36 +02:00
Marco Belladelli
dc71c17503
HHH-17828 Special case for uninitialized enhanced proxies when locking
2024-04-03 09:43:03 +02:00
Daniel Mensinger
fbd170b853
HHH-17828 Add test for issue
2024-04-03 09:43:03 +02:00
Christian Beikov
f7805e952b
HHH-17908 Allow varchar for STRING enums on MySQL in schema validation
2024-04-02 16:43:56 +02:00
Christian Beikov
0389fed095
HHH-17898 Throw error if non-lateral from-clause subquery uses outer from node
2024-04-02 16:42:13 +02:00
Gavin King
39f09aecae
handle inner enum literal in HQL
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:36:28 +02:00
Gavin King
6de223572e
handle unqualified enum values in @Query
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:36:23 +02:00
Gavin King
8caa7096fb
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-04-02 16:36:18 +02:00
Marco Belladelli
0e9da568c8
HHH-17835 Custom ConvertedPrimitiveBasicTypeImpl type resolution
2024-04-02 12:33:30 +02:00
Marco Belladelli
76d4768d26
HHH-17835 Add test for issue
2024-04-02 12:33:27 +02:00
Marco Belladelli
a79ebfec97
HHH-17803 Fix resolving enum basic path source mapping expressibles
2024-03-29 10:39:18 +01:00
Marco Belladelli
dc18d92702
HHH-17803 Add test for issue
2024-03-29 10:39:13 +01:00
Christian Beikov
f698c6e2e4
HHH-17493 Ensure case insensitivity is retained in negated copy
2024-03-28 16:45:55 +01:00
Jan Schatteman
9527cbaa4a
HHH-17493 - add tests and fix
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 16:45:55 +01:00
Yanming Zhou
fa2e8f73e7
HHH-12202 Introduce ParameterType.getReturnedJavaType() as companion of getReturnedClass()
2024-03-28 16:09:33 +01:00
Vincent Bouthinon
5c2fb290f5
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:56 +01:00