Commit Graph

14205 Commits

Author SHA1 Message Date
Andrea Boriero f5be0e1f07 HHH-15346 @ManyToOne associations not loaded correctly with default EAGER and batch fetch property set 2022-06-24 13:55:55 +02:00
Andrea Boriero a70150fe2e HHH-15346 Add test for issue 2022-06-24 13:55:55 +02:00
Andrea Boriero a8318fdfb9 HHH-15354 Throw MappingException instead of NPE for hbm referencing unmapped class 2022-06-24 10:11:43 +02:00
Andrea Boriero 48e3bf8381 HHH-15354 Add test for issue 2022-06-24 10:11:43 +02:00
Christian Beikov 0777f7941c HHH-15361 Fix update assignment issues due to missing JavaType#isWider impls 2022-06-24 00:23:35 +02:00
Christian Beikov 0864ca58a3 HHH-15360 Fix listagg rendering on older H2 versions 2022-06-24 00:00:44 +02:00
Christian Beikov 2b78f99ea8 HHH-15357 Fix access to mapped by map key 2022-06-23 22:34:29 +02:00
Christian Beikov 9cff075a89 HHH-15349 Fix rendering of EntityValuedPathInterpretation when comparing different model parts 2022-06-23 20:20:00 +02:00
Christian Beikov b3d0addaeb Improve wording on code comment in PostgreSQLDialect 2022-06-22 16:09:00 +02:00
Gavin King 8e55dde340 clean up some warnings
mostly .instanceOf() calls
2022-06-20 17:57:39 +02:00
Gavin King 1eb75e22ef improve language and formatting in new HQL doc sections 2022-06-18 00:22:17 +02:00
Gavin King 58da5f24f9 "sub query" -> "subquery"
The word "sub" means "submarine", "submissive", or "substitute".
It's never an adjective.
2022-06-18 00:22:17 +02:00
Gavin King c163e1f2ed minor clarifications to HQL chapter 2022-06-17 18:14:30 +02:00
Icemap 941db3c37c HHH-15350 Delete Non-ASCII characters in an identifier class 2022-06-17 17:18:53 +02:00
Christian Beikov 2700b0a8cf HHH-15347 Use equals instead of identity check in NavigablePath#relativize 2022-06-17 13:15:16 +02:00
Christian Beikov d06eee0a5d HHH-15343 Fix NPE in type determination for case expression with null literal 2022-06-17 09:48:57 +02:00
Steve Ebersole ff2cd561f5 HHH-15344 - Ability to apply testing annotations at method-level
- `@SessionFactory`
2022-06-16 21:15:18 +01:00
Steve Ebersole edc95df72a HHH-15344 - Ability to apply testing annotations at method-level
- `@ServiceRegistry`
    - `@BootstrapServiceRegistry`
2022-06-16 21:15:18 +01:00
Steve Ebersole 763d1764cd HHH-15344 - Ability to apply testing annotations at method-level
- `@DomainModel`
2022-06-16 21:15:18 +01:00
Gavin King 6c461a3674 HHH-15001 Hibernate.size(), Hibernate.contains(), Hibernate.get()
add @since tags
2022-06-15 15:15:37 +02:00
Christian Beikov 3cf6f2e3ef HHH-15341 Disallow passing transient entity parameter values 2022-06-15 15:13:58 +02:00
Christian Beikov 04fd92b204 HHH-15339 Add foreign key part name as target key property name for fk optimization 2022-06-15 14:17:25 +02:00
Christian Beikov cc500d46e8 HHH-15338 Remember initial selection node alias in SqmSelection 2022-06-15 10:57:48 +02:00
Christoph Dreis 6a227b5ee2 HHH-15325 Avoid allocations from BitSet.stream() in AbstractEntityPersister 2022-06-15 09:56:45 +02:00
Andrea Boriero 4d070f24f9 HHH-15324 Hibernate internally use Query#setHint with legacy java.persistence properties causing deprecation log warnings 2022-06-15 09:50:45 +02:00
Christoph Dreis 9a5ee1a6df HHH-15329 Remove workaround for HHH-10382 in GetterFieldImpl 2022-06-15 09:11:11 +02:00
dependabot[bot] f05d7e2e33 Bump com.gradle.common-custom-user-data-gradle-plugin
Bumps com.gradle.common-custom-user-data-gradle-plugin from 1.6.5 to 1.7.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 11:42:03 +01:00
dependabot[bot] 419f5669dd Bump com.gradle.enterprise from 3.8 to 3.10.2
Bumps com.gradle.enterprise from 3.8 to 3.10.2.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 11:39:44 +01:00
Christian Beikov ed1cea6ba1 Handle insert-select for entities with generators that do not support bulk insertion 2022-06-13 23:33:52 +02:00
Jan Schatteman 49e9696ced Temporarily disabled InsertSelectTests and dropped the removeDescriptor method from DdlTypeRegistry again, since it will not be needed after all
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-06-10 18:52:21 +02:00
Gavin King c60fbc20ec documentation for hibernate.enable_lazy_load_no_trans 2022-06-10 17:00:29 +02:00
Jan Schatteman e26237dc0b Added a method for removing DdlTypes from the DdlTypeRegistry (intended for internal use)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-06-09 19:17:32 +02:00
Yoann Rodière b2fe35c297 Add missing space between Gradle arguments when passing --enable-preview to the test launcher 2022-06-09 17:24:52 +02:00
Yoann Rodière 62e2fbb3b1 Use --enable-preview when testing against JDK 19 2022-06-09 17:13:56 +02:00
Yoann Rodière f46d61b6e7 Allow passing test launcher args through project properties 2022-06-09 17:13:56 +02:00
Yoann Rodière 075eb51500 Always build main code with JDK 11 in Jenkinsfile
So that we test ORM with the main bytecode as close as possible to
actual releases.

This is what we do in other projects (Search, Validator, Reactive).
2022-06-09 17:13:56 +02:00
Yoann Rodière 49f3345d15 Simplify Jenkinsfile with Groovy Properties and named parameters 2022-06-09 17:13:56 +02:00
Steve Ebersole 180089b542 HHH-15314 - Hibernate Gradle plugin is not working for Kotlin projects 2022-06-08 17:32:52 -05:00
Steve Ebersole fd7cca8fdc HHH-15314 - Hibernate Gradle plugin is not working for Kotlin projects 2022-06-08 16:28:15 -05:00
Steve Ebersole 76055475da HHH-15314 - Hibernate Gradle plugin is not working for Kotlin projects 2022-06-08 07:39:10 -05:00
Steve Ebersole 2ef7bd42bf HHH-15314 - Hibernate Gradle plugin is not working for Kotlin projects 2022-06-08 00:52:30 -05:00
Steve Ebersole 43aec7e8ea Revert "HHH-15314 - Hibernate Gradle plugin is not working for Kotlin projects"
This reverts commit f2613913729a99e8c41bcfedc694559579f7b370.
2022-06-08 00:51:38 -05:00
Steve Ebersole acb1989138 HHH-15314 - Hibernate Gradle plugin is not working for Kotlin projects 2022-06-08 00:51:38 -05:00
Jan Schatteman fad9db67b0 Disable HibernateOrmPluginTest.testJpaMetamodelGenUpToDate() test for now (as was intended).
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-06-07 23:41:59 +02:00
Steve Ebersole 99a9078bbd release doc 2022-06-07 05:59:56 -05:00
Steve Ebersole 6ac624a84b HHH-15314 - Hibernate Gradle plugin is not working for Kotlin projects 2022-06-07 05:59:56 -05:00
Hibernate-CI 9b934f6fb0 Post-steps for release : `6.1.0.Final` 2022-06-07 09:12:37 +00:00
Hibernate-CI 3a0e9f1c61 Pre-steps for release : `6.1.0.Final` 2022-06-07 09:08:23 +00:00
Steve Ebersole 0adbf40c49 HHH-15316 - Session.createQuery() doesn't accept JpaCriteriaInsertSelect 2022-06-06 14:39:43 -05:00
Christian Beikov 341267b133 HHH-3356 Support for normal and lateral subquery in from clause 2022-06-04 19:07:43 +02:00