Commit Graph

18229 Commits

Author SHA1 Message Date
Marco Belladelli e7d32c0365
Fix Oracle test missing order by expression in select distinct 2024-05-07 11:11:43 +02:00
Christian Beikov 23fecb110d HHH-17421 Ensure that no follow-on locking happens on SQL Server and Sybase ASE 2024-05-07 08:17:29 +02:00
Simon StJohn-Green 604c896529 HHH-17421 Test that no follow-on locking happens on SQL Server and Sybase ASE 2024-05-07 08:17:28 +02:00
Christian Thiel 5698af3917 HHH-17305 Test and fix for keeping order of tables in polymorphic queries 2024-05-06 17:49:36 +02:00
Christian Beikov 459c6f427a HHH-17385 Missing table for superclass when joining subclass association 2024-05-06 16:23:10 +02:00
Andrea Boriero 92aef4a1ae HHH-18032 CompositeId, when the id assigned by PrePersist method an HibernateException: identifier of an instance of _ was altered is thrown 2024-05-06 14:52:04 +02:00
Andrea Boriero 098fdbd374 HHH-18032 Add test for issue 2024-05-06 14:52:04 +02:00
Marco Belladelli e8252cb4a8 HHH-17827 Fix check for Map dynamic entity classes 2024-05-06 14:29:14 +02:00
Marco Belladelli bb88d3244b HHH-17827 Add test for issue 2024-05-06 14:29:14 +02:00
Marco Belladelli 08c2a5479d HHH-17834 Force version increment for the correct inheritance table 2024-05-06 14:27:13 +02:00
Marco Belladelli d977b40598 HHH-17834 Add test for issue 2024-05-06 14:27:13 +02:00
Christian Beikov 19c2c40f82 HHH-18046 Fix Hana issue with binary arithmetic parameter operand and skip test for cockroach 2024-05-06 12:15:00 +02:00
Marco Belladelli 9ba0dd7af0 HHH-17837 Render target-side key for explicit plural joins when needed
Also, change how we determine whether we need to use the target-side to only the strictly needed cases (non-optimizable joins, `group by` or `order by` clauses)
2024-05-03 08:48:24 +02:00
Marco Belladelli b2f1725520 HHH-17837 Add test for issue 2024-05-03 08:48:24 +02:00
Christian Beikov 0b1ad4e410 HHH-18046 Cast parameters used as arithmetic operands on DB2 2024-05-02 18:19:16 +02:00
Christian Beikov 55ff91ba17 Update to JPA TCK 3.1.4 2024-05-02 15:45:20 +02:00
Christian Beikov d5da60da1c HHH-18018 Use NO_PLAIN_PARAMETER for Derby functions that use the length function 2024-05-02 10:28:13 +02:00
Sanne Grinovero f379ae0652 HHH-18011 Extract reusable constants from EnhancerImpl 2024-05-01 12:00:04 +01:00
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