Sanne Grinovero
aff789cd90
HHH-18011 Extract DefaultEnhancerClassFileLocator and allow using a different implementation
2024-05-01 12:00:04 +01:00
Christian Beikov
4b172ed843
HHH-18036 Truncate time-related milliseconds when creating a java.sql.Date
2024-05-01 00:09:03 +02:00
Christian Beikov
fda29018d2
Make identifiers case insensitive in MySQL/MariaDB, but retain the correct case when storing names
2024-04-30 22:45:55 +02:00
Christian Beikov
59eb3577af
Allow running staged TCKs
2024-04-30 19:12:46 +02:00
Christian Beikov
230c70f47b
Make identifiers case insensitive in MySQL/MariaDB
2024-04-30 18:12:52 +02:00
Gavin King
a869ce1c1e
document that records can now be used as @IdClasses and @EmbeddableIds
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:14:55 +02:00
Gavin King
647f689d1b
document implicit joins in 'delete'/'update' queries
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:14:55 +02:00
Gavin King
72b62fad40
document changes to StatelessSession semantics
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:14:55 +02:00
Gavin King
55f54dfd4b
document auto-enabled filters
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:14:55 +02:00
Steve Ebersole
2ae7bf8b92
6.5.0
2024-04-25 10:49:33 -05:00
Hibernate-CI
6c782f1279
Post-steps for release : `6.5.0.Final`
2024-04-25 15:23:31 +00:00
Hibernate-CI
cd5731170d
Pre-steps for release : `6.5.0.Final`
2024-04-25 15:21:40 +00:00
Gavin King
986d439e6f
make the section on @Lob even more explicit
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-25 16:09:46 +02:00
Gavin King
816d1e15f4
mention GenericGenerator deprecation in migration guide
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-25 14:54:34 +02:00
Andrea Boriero
b5b40f272a
HHH-17964 Hibernate using wrong column order for ElementCollection query when composite ID is present
2024-04-25 09:59:17 +02:00
Andrea Boriero
96793faa47
HHH-17964 Add test for issue
2024-04-25 09:59:17 +02:00
Gavin King
84cdd7c93f
slightly improve format of error message
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-24 23:28:54 +02:00
Marco Belladelli
9346c28c8e
HHH-17983 Remove entity keys from batch queue before loading
2024-04-24 11:37:57 +02:00
Marco Belladelli
c846bc3ec2
HHH-17983 Add test for issue
2024-04-24 11:37:57 +02:00
Marco Belladelli
205197bdf4
HHH-17883 Correct original column order for primary keys
2024-04-24 11:36:50 +02:00
Marco Belladelli
00d5f2f9e6
HHH-17883 Add test for issue
2024-04-24 11:36:50 +02:00
Sanne Grinovero
a76a314586
HHH-17993 Metamodel processing on bootstrap: avoid retrying same metamodel class name multiple times
2024-04-23 17:35:04 +01:00
Sanne Grinovero
c1dca9879f
HHH-17991 Reduce overhead from @DialectOverride discovery
2024-04-23 17:35:04 +01:00
Sanne Grinovero
bfd0a29e95
HHH-17988 MetadataContext should consistently use ClassLoaderService
2024-04-23 17:35:04 +01:00
Sanne Grinovero
6f8545f1a5
HHH-17987 Improve allocation rate of ReflectHelper#setterMethodOrNull
2024-04-23 17:35:04 +01:00
Sanne Grinovero
cf5d09cc76
HHH-17980 Excessive contention during getter identification in the ByteBuddy enhancer
2024-04-23 17:35:04 +01:00
Christian Beikov
63551906d8
Fix HANA dialect doesRoundTemporalOnOverflow
2024-04-23 18:00:01 +02:00
Christian Beikov
94bade568a
Fix SybaseASEDialect column length resolution
2024-04-23 17:07:59 +02:00
Gavin King
06139cf5da
HHH-17999 use Supplier instead of Constructor
...
this is quite a lot cleaner
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-23 16:23:01 +02:00
Gavin King
abbfa5333e
HHH-17999 use Constructor<Expectation> instead of Class<Expectation>
...
for Quarkus
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-23 16:23:01 +02:00
Andrea Boriero
97a15ae194
HHH-17965 @ElementCollection with @CollectionTable throws o.h.MappingException Foreign key must have same number of columns as the referenced primary key
2024-04-23 13:51:13 +02:00
Andrea Boriero
4eb542872a
HHH-17965 Add test for issue
2024-04-23 13:51:13 +02:00
gtoison
55781039fe
HHH-17994 defensive check for the case when classNames wasn't set
...
(cherry picked from commit 08127f28df
)
2024-04-22 15:16:41 -05:00
Andrea Boriero
b7ade6c26c
Upgrade docker mssql image to 2022-CU12-ubuntu-22.04
2024-04-22 11:38:16 +01:00
Gavin King
122a659776
add an example to jdoc of SS.fetch()
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-19 21:43:26 +02:00
Gavin King
daa99ab11b
HHH-17955 Javadoc improvements in StatelessSession
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-19 21:43:26 +02:00
Gavin King
e0e603a072
talk about lock() and refresh() in javadoc preamble for Session
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-19 21:43:26 +02:00
Gavin King
5948ad1245
two minor improvements to javadoc
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-19 21:43:26 +02:00
Gavin King
a5b8a39d54
make javadoc consistent
...
yes, these methods actually do still accept detached objects
as of today, but that's already deprecated and we're going to
turn it off in the future
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-19 21:43:26 +02:00
Gavin King
082e47efb7
HHH-17953 fix StatelessSession.fetch() for empty collection
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-19 21:43:26 +02:00
Gavin King
18c0fd7a78
fix an NPE that occurred if a QL 'delete' statement had no predicate ( #8190 )
...
(bug exposed by Jakarta Data TCK)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-19 21:43:26 +02:00
Gavin King
a7ad74f75f
fix error message when repository backed by regular session returns Uni
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-19 21:43:26 +02:00
Christian Beikov
9d878cfb4f
Remove JPA 3.2 build file
2024-04-19 13:53:12 +02:00
Christian Beikov
1166e64fe0
HHH-17884 Introduce special SqlTypes constants for ordinal based enums
2024-04-19 13:03:56 +02:00
Marco Belladelli
d8e0ecfbf8
HHH-17916 Check type is resolved before building generic property
2024-04-19 12:40:45 +02:00
Marco Belladelli
f220abd1ca
HHH-17916 Add test for issue
2024-04-19 12:40:45 +02:00
Florian Heck
6e1fe9374b
HHH-17975 add testcase for retrieving revision by an Instant
2024-04-19 12:34:46 +02:00
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