Florian Heck
6bca5a4960
HHH-17975: use the same precision (millis) for resolving revision timestamps from Instant as from LocalDateTime
2024-04-19 12:34:46 +02:00
Marco Belladelli
6aa573004f
Tag release version before committing development version change
2024-04-19 08:58:47 +02:00
Christian Beikov
6cf3316675
HHH-17174 Fix empty query string
2024-04-18 18:16:51 +02:00
Yanming Zhou
cb8a1c464d
HHH-17951 Deprecate unused Size.LobMultiplier
2024-04-17 18:36:49 +02:00
Hibernate-CI
35a49f566b
Post-steps for release : `6.5.0.CR2`
2024-04-12 18:38:47 +00:00
Hibernate-CI
91fabd4d01
Pre-steps for release : `6.5.0.CR2`
2024-04-12 18:34:48 +00:00
Steve Ebersole
c90abde507
HHH-17559 - Prefer Java Time handling for all temporal values
...
(cherry picked from commit a996b6514e
)
2024-04-12 13:13:36 -05:00
Andrea Boriero
2500f1eb82
HHH-17761 migration guide
2024-04-12 13:12:58 -05:00
Andrea Boriero
af6c8eefea
Fix SybaseASEDialect column lenght resolution
2024-04-12 19:27:52 +02:00
Andrea Boriero
7cc7bac5d4
Fix LobSchemaUpdateTest failure for sybase and mssql legacy dialects
2024-04-12 19:09:54 +02:00
Andrea Boriero
dbaccbe6e0
Fix sybase LobSchemaUpdateTest failure
2024-04-12 19:09:54 +02:00
Andrea Boriero
1dc67a323f
HHH-17761 Merging a bytecode enhanced entity with all properties set to null does not apply the update
2024-04-12 11:52:01 -05:00
Andrea Boriero
78d4cce17e
HHH-17761 Add test for issue
2024-04-12 11:52:01 -05:00
marko-bekhta
2d00d4f7fa
HHH-17761 Add a reproducer
2024-04-12 11:52:01 -05:00
Steve Ebersole
11d468eeb7
HHH-17946 - Avoid creating ProxyFactory if possible
...
(cherry picked from commit f68f6aae50
)
2024-04-12 11:23:45 -05:00
Marco Belladelli
7b96a0ade2
HHH-17783 Allow early initialization of entity instance by non-owning initializer
2024-04-12 11:14:59 -05:00
gtoison
b545d095ec
HHH-17918 test reproducing the issue
2024-04-12 11:14:59 -05:00
Marco Belladelli
10f7f132e5
HHH-17783 Add test for issue
2024-04-12 11:14:59 -05:00
Yanming Zhou
8efcccda8d
HHH-17912 Disallow multiple valued binding for BasicCollectionType
...
(cherry picked from commit 71234d90ae
)
2024-04-12 11:02:59 -05:00
Christian Beikov
7a4e0c21f4
HHH-17932 Get rid of unnecessary synchronization
2024-04-12 14:01:59 +02:00
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
Gavin King
2a8fef4386
allow @Find @Nullable and @Query @Nullable
...
to return null from a repository method
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:34:22 +02:00
Gavin King
37195c21e1
better impl of repository id lookup methods returning Optional
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:34:18 +02:00
Andrea Boriero
90e80efa48
Fix mssql LobSchemaUpdateTest failure
2024-04-12 13:34:09 +02:00
Gavin King
0007f6a8a0
improve Jakarta Data exception messages
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:34:01 +02:00
Gavin King
82518862ae
fix exceptions thrown from by-id @Find method
...
previously, for SS it would just return null
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:33:58 +02:00
Gavin King
0c6d3595a8
fix exceptions thrown from JD lifecycle method
...
SS does not do exception translation
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:33:54 +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
Gavin King
82ef400705
slightly simplify generated code for pagination using static imports
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:32:27 +02:00
Gavin King
5d611e63b7
update generated pagination code to new JD PageRequest API
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 13:32:19 +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
dependabot[bot]
3957bb81fc
Bump com.gradle.enterprise from 3.16.2 to 3.17
...
Bumps com.gradle.enterprise from 3.16.2 to 3.17.
---
updated-dependencies:
- dependency-name: com.gradle.enterprise
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 10:06:01 +02:00