Commit Graph

18279 Commits

Author SHA1 Message Date
Yoann Rodière c9d92347aa HHH-18050 Upgrade to Jackson 2.17.0 2024-05-03 11:41:08 +02:00
Marco Belladelli f5de1972e7 Fix java 17 bytecode-enhanced test missing imports 2024-05-03 10:37:45 +02:00
Marco Belladelli b16b891be0 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:20 +02:00
Marco Belladelli 21bfc5c19f HHH-17837 Add test for issue 2024-05-03 08:48:20 +02:00
Gavin King 1bcc6295b5 document JPA compatibility of extract() field types
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-02 22:45:15 +02:00
Gavin King b1c69a24b6 update docs with all field types for HQL extract()
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-02 22:45:15 +02:00
Gavin King d0ed4d01f2 squash some compiler warnings
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-02 20:18:27 +02:00
Gavin King 72261fd806 HHH-18020 realign behavior of ClobJdbcType with BlobJdbcType
there was some organic divergence here
2024-05-02 20:18:27 +02:00
Gavin King c955150b27 minor code cleanups
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-02 20:18:27 +02:00
Christian Beikov 88bdfbfbd4 HHH-18046 Cast parameters used as arithmetic operands on DB2 2024-05-02 18:18:49 +02:00
Christian Beikov c3692161f5 Update to JPA TCK 3.1.4 2024-05-02 15:45:03 +02:00
Marco Belladelli 1ed98a901b Upgrade JUnit5 to 5.10.2 2024-05-02 10:59:50 +02:00
Christian Beikov 5d4ffac58d HHH-18018 Use NO_PLAIN_PARAMETER for Derby functions that use the length function 2024-05-01 10:33:24 -05:00
marko-bekhta 19e495d8da Convert bytecodeenhanced tests to use JUnit 5 extensions 2024-05-01 07:36:14 -05:00
Sanne Grinovero 85364a2c53 HHH-18011 Extract reusable constants from EnhancerImpl 2024-05-01 11:59:35 +01:00
Sanne Grinovero a92bf606a9 HHH-18011 Extract DefaultEnhancerClassFileLocator and allow using a different implementation 2024-05-01 11:59:35 +01:00
Christian Beikov 3578ed845f HHH-18036 Truncate time-related milliseconds when creating a java.sql.Date 2024-05-01 00:08:25 +02:00
Christian Beikov 59f7209fd6 Make identifiers case insensitive in MySQL/MariaDB, but retain the correct case when storing names 2024-04-30 22:45:44 +02:00
Christian Beikov 779c428ab0 Allow running staged TCKs 2024-04-30 19:12:18 +02:00
Christian Beikov da27de6815 Make identifiers case insensitive in MySQL/MariaDB 2024-04-30 18:12:24 +02:00
Yanming Zhou ecaeea414d HHH-18034 Configuration property `hibernate.event.listener.eventType` should be more lenient against spaces 2024-04-30 11:57:12 +01:00
Steve Ebersole d4146865f4 6.6 announcement 2024-04-29 13:49:40 -05:00
Steve Ebersole a7f87a2102 6.6 announcement 2024-04-29 13:12:42 -05:00
Yoann Rodière 8031e211e9
Fix invalid s390x config in Hibernate GitHub Bot config 2024-04-29 13:44:31 +02:00
Yoann Rodière 1c3ac99e44
Fix DB tag regexp in Hibernate GitHub Bot configuration
Java apparently throws exception when the replacement string references
non-matching groups.

This new regexp no longer relies on optional groups,
and thus should work fine.
2024-04-29 12:52:33 +02:00
Yoann Rodière 46c553dc3c
Simpler DB tag regexp in Hibernate GitHub Bot config 2024-04-29 09:16:17 +02:00
Yoann Rodière e6b6f4b145 Handle s390x in Develocity build scan reports 2024-04-29 09:10:03 +02:00
Yoann Rodière 9f682b85dc Improve cleanup of DB tags in Develocity build scan reports 2024-04-29 09:10:03 +02:00
Gavin King fe7b3c9e7e HHH-18023 fix questionable test
PESSIMISTIC_READ is not really a "more exclusive" lock than UPGRADE_NOWAIT

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-28 20:37:18 +02:00
Gavin King 1e0e0ac02b HHH-18023 fix wrong test assertions
OPTIMISTIC means the version gets checked at end of tx,
this lock mode is never acquired implicitly

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-28 20:37:18 +02:00
Gavin King 1657702015 HHH-18024 fix getLockMode() on read-only entity
it resulted in spurious exception claiming entity was deleted

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-28 20:37:18 +02:00
Gavin King 789cc12b8e HHH-18023 fix bugs with versioned LockModes
- NPE at commit time for OPTIMISTIC on entity with no version
- LockMode.OPTIMISTIC treated as equivalent to LockModeType.OPTIMISTIC

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-28 20:37:18 +02:00
Gavin King 39a6f9880b clean up CacheModeHelper
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-28 20:37:18 +02:00
Gavin King 07dc9f0a68 document that records can now be used as @IdClasses and @EmbeddableIds
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King 60a732152f clean an unused import
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King f55f1c7a43 document implicit joins in 'delete'/'update' queries
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King 8eebf0bafb document changes to StatelessSession semantics
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King ec0810a646 document auto-enabled filters
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King 5ab2d83bd8 produce meaningful error if reactive repo method does not return Uni
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 00:07:10 +02:00
Yoann Rodière 4bbc0e4db5 Produce Develocity build scans in nightly Jenkins job 2024-04-26 15:52:34 +02:00
Yoann Rodière 09ca90c872 Use the new env variable name (DEVELOCITY_ACCESS_KEY) for Develocity credentials 2024-04-26 15:52:34 +02:00
Yoann Rodière f7bea4805c Custom columns in develocity build scan reports 2024-04-26 15:52:34 +02:00
Yoann Rodière 2e192a4bee Upgrade to hibernate-jenkins-pipeline-helpers 1.11
Mainly to improve tracing in case `requireApprovalForPullRequest`
doesn't work properly, but also simply to keep things up to date.

https://github.com/hibernate/hibernate-jenkins-pipeline-helpers/compare/1.9...1.11
https://github.com/hibernate/hibernate-jenkins-pipeline-helpers/compare/1.5...1.11
2024-04-26 14:14:49 +02:00
Gavin King d42d467a3b add Hibernate Data Repositories doc to release
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-25 20:17:43 +02:00
Hibernate-CI 8541c15eec Post-steps for release : `6.6.0.Alpha1` 2024-04-25 16:07:56 +00:00
Hibernate-CI 252a8d6bb2 Pre-steps for release : `6.6.0.Alpha1` 2024-04-25 16:05:55 +00:00
Jan Schatteman 1b057b8f1f HHH-17967 - Add test for issue (already fixed on main, fails pre-6.5)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-04-25 16:39:21 +02:00
Gavin King fd2e1aca81 make the section on @Lob even more explicit
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-25 16:00:36 +02:00
Andrea Boriero 2202487633 HHH-17964 Hibernate using wrong column order for ElementCollection query when composite ID is present 2024-04-25 09:59:13 +02:00
Andrea Boriero a1739979d1 HHH-17964 Add test for issue 2024-04-25 09:59:13 +02:00