Commit Graph

17807 Commits

Author SHA1 Message Date
Yoann Rodière cca12b90d0 Do not include the whole Gradle cache in GH Actions caches
We don't need the whole cache, since most (all?) of it is stored on
Develocity already.

Including ./gradle/caches/modules-2 is enough, because that's where
Maven dependencies are stored, and *those* are not stored on Develocity.

(cherry picked from commit 013bb46470)
2024-10-29 17:47:11 +01:00
Yoann Rodière b8b7af92cd Improve build cache strategy
Ripped off from Quarkus.

Here's how it will work:

1. We create a cache entry on push only. Pull requests only restore it.
2. We create a new cache entry every day, prefixed with something like
   2024-10-25.
3. When restoring the cache, we try the entry for the day first
   (2024-10-25) and default to the one for the month (2024-10-*).
   Critically, this means we will build each day's cache based on the
   previous day's cache.
4. Atlas infra uses its own, separate cache entries.

Co-Authored-By: Guillaume Smet <guillaume.smet@gmail.com>
(cherry picked from commit 5eaaff2e63)
2024-10-29 17:47:11 +01:00
Yoann Rodière d6a9c42c2d Sanitize user home on GitHub Action job start on Atlas
(cherry picked from commit 4e8eb91562)
2024-10-29 17:47:11 +01:00
Christian Beikov 6fcb0d50fb Don't use the build cache during releases
So that we're extra sure we're not relying on cache left by a previous
Gradle execution.

(cherry picked from commit 543e095cf7)
2024-10-29 17:47:11 +01:00
Martin Simka 222b1a2b26 [HHH-18507] allow overwriting the default db image with environment variable in docker_db.sh
https://hibernate.atlassian.net/browse/HHH-18507
2024-09-09 17:55:51 +02:00
Hibernate-CI 1d81bd4b81 Post-steps for release : `6.4.10.Final` 2024-08-06 09:51:01 +00:00
Hibernate-CI 8703beb8c6 Pre-steps for release : `6.4.10.Final` 2024-08-06 09:51:01 +00:00
Christian Beikov 40a9b9d725 HHH-18410 Hoist some state to AbstractAttributeMapping to avoid megamorphic call sites 2024-08-06 11:49:08 +02:00
Christian Beikov 73af6a0b75 HHH-18410 Make use of getter/setter cache as much as possible 2024-08-06 11:49:08 +02:00
Christian Beikov 7ef269100b Increase gradle daemon metaspace size to allow documentation to build on JDK 11 2024-08-06 11:49:08 +02:00
Christian Beikov 8436326fc5 HHH-17949 Fix upsert handling when optimistic locking is involved 2024-08-06 11:49:08 +02:00
Gavin King 0ce4f3c083 HHH-17934 limit test to databases with proper MERGE support for now
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-06 11:49:08 +02:00
Gavin King 909a8b0b4a HHH-17934 sort out version handling in upsert()
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-06 11:49:08 +02:00
Gavin King ef0cc752c6 HHH-17934 generate a correct SQL merge statement
(adds the version check if necessary)

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-06 11:49:08 +02:00
Gavin King 306e59bc74 HHH-17934 test demonstrating bug
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-06 11:49:08 +02:00
Steve Ebersole 87735be16f HHH-18412 - Upgrade JBoss Logging Tools (processor) to 3.0.1.Final 2024-08-06 11:49:08 +02:00
Steve Ebersole cbada72833 HHH-18393 - Upgrade JBoss Logging Tools (processor) to 3.0.0.Final 2024-08-06 11:49:08 +02:00
Christian Beikov 6f3258a97f Switch to a okhttp-digest version that is available on Maven central 2024-08-06 11:49:08 +02:00
Christian Beikov f67acfcd65 Update asciidoctor plugins to 4.0.2 2024-08-06 11:49:08 +02:00
Andrea Boriero d1313b677b HHH-18338 o.h.UnknownEntityTypeException: Unable to locate persister thrown when an embeddable object is loaded before the entity it references 2024-08-06 11:49:08 +02:00
Andrea Boriero d363a188ab HHH-18338 Add test for issue 2024-08-06 11:49:08 +02:00
Christian Beikov 3d483887c1 HHH-18352 Don't emulate tuple comparison with subquery if possible 2024-08-06 11:49:08 +02:00
imunic 1d87db4e4f HHH-17840 Fix inconsistency of read/write null JsonNode/JsonValue 2024-08-06 11:49:08 +02:00
Marco Belladelli c972208fbc HHH-18272 Check for `SqmAliasedNodeRef` when collecting group/order by 2024-08-06 11:49:08 +02:00
Marco Belladelli 5e4c35441c HHH-18272 Add test for issue 2024-08-06 11:49:08 +02:00
Yoann Rodière 0047b070d6 Upgrade to hibernate-jenkins-pipeline-helpers 1.17 2024-08-06 11:49:08 +02:00
Christian Beikov a3926cbbc1 Fix passing branch to publish.sh 2024-08-06 11:49:08 +02:00
Christian Beikov a61ab0671f Bind BRANCH environment variable 2024-08-06 11:49:08 +02:00
Christian Beikov b5bc7fb8bb Fix empty git branch and remote value issues 2024-08-06 11:49:08 +02:00
Christian Beikov 3a19d2210a Fix empty git branch and remote value issues 2024-08-06 11:49:08 +02:00
Andrea Boriero b785f94890 HHH-17735 Community dialects for MySQL 5.7 give invalid SQL syntax for locks since 6.4.4 2024-08-06 11:49:08 +02:00
Hibernate-CI f7e7686092 Post-steps for release : `6.4.9.Final` 2024-06-11 13:40:26 +00:00
Hibernate-CI 094da2878d Pre-steps for release : `6.4.9.Final` 2024-06-11 13:40:26 +00:00
Christian Beikov 346d7a074d Increase XMX for Quarkus build 2024-06-11 15:39:10 +02:00
Marco Belladelli d8c9f9dba9 HHH-17837 HHH-18202 Backport fk rendering-side logic for associations in order/group by 2024-06-11 15:39:10 +02:00
Marco Belladelli 4772073a54 HHH-18202 Add test for issue 2024-06-11 15:39:10 +02:00
Marco Belladelli f7cb6c1fb0 HHH-17837 Add test for issue 2024-06-11 15:39:10 +02:00
Marco Pelagatti 3790c19ccc HHH-18170 Subquery randomly generating wrong SQL due to duplicate alias 2024-06-11 15:39:10 +02:00
Marco Belladelli 1919409ffc HHH-18007 Use correct expressible when checking query result type 2024-06-11 15:39:10 +02:00
marko-bekhta 433fbe9185 HHH-18007 Add a testcase for the issue 2024-06-11 15:39:10 +02:00
Gavin King f0d5cf789a HHH-18140 Skip optimizeUnloadedDelete if there are POST_COMMIT_DELETE listeners
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-11 15:39:10 +02:00
Guenther Demetz ece64c75fd HHH-16557 Testcase and bugfix proposal (revised by beikov) 2024-06-11 15:39:10 +02:00
Andrea Boriero f44332ccfb HHH-17943 - Fix for issue 2024-06-11 15:39:10 +02:00
Andrea Boriero a559dd243b HHH-17943 - Add test for issue 2024-06-11 15:39:10 +02:00
Jan Schatteman 7389e5f9d4 HHH-17943 - Fix for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-06-11 15:39:10 +02:00
Jan Schatteman d64b9566b8 HHH-17943 - Add test for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-06-11 15:39:10 +02:00
Marco Belladelli 3570d9b451 Fix Oracle test missing order by expression in select distinct 2024-06-11 15:39:10 +02:00
Christian Beikov 4e1be36110 HHH-18027 Clear expansions NonSelectQueryPlan.executeUpdate call 2024-06-11 15:39:10 +02:00
Yanming Zhou d7566d8a59 HHH-18027 Test mutation query reuse with parameter list expansions 2024-06-11 15:39:10 +02:00
Andrea Boriero 82c2186363 HHH-18032 CompositeId, when the id assigned by PrePersist method an HibernateException: identifier of an instance of _ was altered is thrown 2024-06-11 15:39:10 +02:00