Commit Graph

19143 Commits

Author SHA1 Message Date
Marco Belladelli 40544fad60 HHH-18285 Migration for emb-inheritance and annotated class validation
Also slight improvements to release notes and user guide.
2024-07-03 16:46:50 +02:00
Jan Schatteman e670f0bc4d HHH-17414 - Add a basic test logging configuration for UCP
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-03 14:10:37 +02:00
Lukáš Vasek 4d66718d54 HHH-18293 Upgraded geolatte to 1.9.1 2024-07-02 16:45:45 +02:00
Sanne Grinovero 5a052bafc9 HHH-18108 Avoid applying the ClassTransformer on types we will be loading 2024-07-02 16:45:05 +02:00
nathan.xu 8878a19161 HHH-18320 fix some synatx errors in Locking user guide chapter 2024-07-01 09:35:08 +01:00
Gavin King c1624dce98 minor code style improvements to ConnectionProviders
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 19:49:12 +02:00
Čedomir Igaly d0973b28c1 HHH-18278 - Method org.hibernate.processor.HibernateProcessor#included(Element) should accept both TypeElement and PackageElement 2024-06-27 18:12:32 +02:00
Čedomir Igaly 62a89e6d30 HHH-18278 - Test case:
Metamodel generator should generate classes
			org.hibernate.processor.test.packageinfo.Message_
		and
			org.hibernate.processor.test.packageinfo.packageinfo_
		With later containing fields QUERY_FIND_BY_KEY and QUERY_FIND_BY_ID_AND_KEY,
		and method findByKey
2024-06-27 18:12:32 +02:00
Gavin King 05dc7b2612 clean up some imports
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 17:21:47 +02:00
Gavin King 087d0b1208 remove some code that is apparently unnecessary
at least: all the tests pass without it

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 17:21:47 +02:00
Gavin King 6ac0818c14 Update Jakarta Data dependency to 1.0
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 17:21:47 +02:00
Yoann Rodière a6a2a028af
Fix level of a heading in migration guide 2024-06-27 08:40:38 +02:00
Yoann Rodière 332b69ede2 HHH-18296 Test that we don't log warnings when "DROP IF EXISTS" is executed on postgres 2024-06-26 15:44:20 +02:00
Gavin King 3708e56aa2 HHH-18296 skip two fragile and not-extremely-useful tests on Postgres
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 15:44:20 +02:00
Gavin King ad55fd0010 HHH-18296 call set client_min_messages = WARNING before dropping tables on Postgres
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 15:44:20 +02:00
marko-bekhta ea468e774b Add a PR template 2024-06-26 14:07:12 +02:00
Gavin King 1b25f8c6ea eliminate unnecessary dupe method call
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 11:54:56 +02:00
Gavin King 93ec580fad make use of Length constants in Dialects instead of Integer.MAX_VALUE
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 11:54:56 +02:00
Gavin King d4593b00ce very minor
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-25 23:03:55 +02:00
Gavin King 5645b3440a HHH-18301 DB2 LUW supports DROP TABLE IF EXISTS since 11.5
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-25 23:03:55 +02:00
marko-bekhta bf3b7e09e7 Remove `DomesticCat` entity type name as it's not in the docs anymore 2024-06-25 17:44:37 +02:00
dependabot[bot] 4326f61fad Bump com.gradle.common-custom-user-data-gradle-plugin
Bumps com.gradle.common-custom-user-data-gradle-plugin from 2.0.1 to 2.0.2.

---
updated-dependencies:
- dependency-name: com.gradle.common-custom-user-data-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 16:33:37 +01:00
Yoann Rodière a1962fd629 HHH-18284 Test StaticClassLists more extensively 2024-06-25 16:32:42 +01:00
Yoann Rodière e9772c5c02 HHH-18284 Add pre/post-upsert listener classes to StaticClassLists.typesNeedingArrayCopy 2024-06-25 16:32:42 +01:00
Gavin King f947927234 HHH-18288 @Index specified by subclass in SINGLE_TABLE inheritance
I'm definitely not a fan of @Table annotations on subclasses in SINGLE_TABLE
hierarchies. However, unfortunately we've already decided to tolerate it.

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-21 11:55:20 +02:00
Yoann Rodière fe89a94b8a Upgrade to hibernate-jenkins-pipeline-helpers 1.17 2024-06-18 15:13:34 +02:00
Christian Beikov 962729b340 Finalize release announcement 2024-06-14 19:16:54 +02:00
Christian Beikov a33d05a25b Fix passing branch to publish.sh 2024-06-14 19:03:06 +02:00
Christian Beikov 5e98f780a5 Post-steps for release : 6.6.0.CR1 2024-06-14 19:03:06 +02:00
Christian Beikov 39bd4c8393 Pre-steps for release : 6.6.0.CR1 2024-06-14 19:03:06 +02:00
Christian Beikov 3c2281f573 Update hibernate-jenkins-pipeline-helpers to 1.16 2024-06-14 18:22:22 +02:00
Christian Beikov 7d4ddd22c9 Handle Non-final releases 2024-06-14 18:19:49 +02:00
Christian Beikov f242359eee Bind BRANCH environment variable 2024-06-14 17:55:54 +02:00
Christian Beikov 3ba214f7bd Fix empty git branch and remote value issues 2024-06-14 17:42:02 +02:00
Christian Beikov f0112a9aea Fix empty git branch and remote value issues 2024-06-14 17:39:17 +02:00
Christian Beikov e65cbe52bf Fix issue in the release Jenkinsfile 2024-06-14 17:26:34 +02:00
Christian Beikov 149cbaffd9 Update hibernate-jenkins-pipeline-helpers to 1.15 2024-06-14 17:14:14 +02:00
Gavin King 2b62eaa058 HHH-18158, HHH-18251, HHH-18062 fix composite id handling
by rolling back HHH-15184

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-14 15:34:06 +02:00
Marco Belladelli b3d01730ce HHH-18259 Fix check for generated properties for root table only 2024-06-14 10:22:28 +02:00
Marco Belladelli 24dd943c7b HHH-18259 Add test for issue 2024-06-14 10:22:28 +02:00
Dmitry Kryukov d53c9aa7cd HHH-18118 fixed comparison of class field with itself 2024-06-14 09:33:36 +02:00
Dmitry Kryukov ebaba54a83 HHH-18122 removed check of the arg type for private classes 2024-06-14 09:28:59 +02:00
Dmitry Kryukov 2b965f6c65 HHH-18122 added check of the arg type into equals() 2024-06-14 09:28:59 +02:00
Marco Belladelli 638466fa8c
HHH-18212 Small cleanups to transient check logic 2024-06-14 09:23:09 +02:00
Gavin King 8686392afe clean up logic in CHECK_ON_FLUSH
so that it's more readable/understandable

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-13 23:39:29 +02:00
Gavin King 6f58c5e2f6 minor cleanups in Dialect
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-13 23:39:29 +02:00
Gavin King 505e64b19a HHH-18016 change ArgumentTypesValidator to delegate to the JdbcType
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-13 21:59:53 +02:00
Marco Belladelli 27bbdfc839 HHH-18212 Setting to control transient check strictness for unowned associations 2024-06-13 18:06:09 +02:00
Marco Belladelli 055570c8af HHH-18212 Fix transient check for entities deleted during the same flush 2024-06-13 18:06:09 +02:00
Marco Belladelli 52a539d727 HHH-18212 Add test for issue 2024-06-13 18:06:09 +02:00