Commit Graph

15935 Commits

Author SHA1 Message Date
Andrea Boriero 57c2c6e926 HHH-16569 Batch fetch leads to some collections to be wrongly initialized with empty due to wrong generated SQL 2023-05-18 09:42:55 +02:00
Andrea Boriero 611fa48c9b HHH-16569 Add test for issue 2023-05-18 09:42:14 +02:00
Andrea Boriero ca14d463e8 HHH-16573 NPE with embeddable element collection with updateable = false 2023-05-18 09:37:26 +02:00
Yoann Rodière aa2f2bcbb6 HHH-16573 Reproduce NPE with embeddable element collection with updateable = false 2023-05-18 09:37:12 +02:00
Steve Ebersole 427c0c0e8d hibernate-platform release
(cherry picked from commit edd825d133)
2023-05-17 16:16:54 -05:00
Marco Belladelli edfbd79931
HHH-16472 Allow null discriminators for treated left/full joins 2023-05-17 18:04:28 +02:00
Marco Belladelli c0b95a16e6
HHH-16472 Add test for issue 2023-05-17 18:04:24 +02:00
Christian Beikov 0980b78d5e HHH-16541 Don't report supportsSkipLocked() for Sybase 2023-05-17 16:22:56 +02:00
Christian Beikov b45edfc02d HHH-16541 Fix Sybase test issues and HSQLDB hanging 2023-05-17 11:40:31 +02:00
Christian Beikov a8c87cd284 HHH-16541 Don't consider uninitialized LazyTableGroup for follow-on locking emulation. Fix lock mode upgrade for follow-on locking 2023-05-16 12:55:04 -05:00
Christian Beikov 17a01358fa HHH-16541 - (Jakarta EE 10 Platform TCK) jpa/core/lock/query/Client.java#getResultListTest1 test regression 2023-05-16 12:55:04 -05:00
Steve Ebersole 03003c3794 HHH-16538 - Remove BeanValidationIntegrator#BV_CHECK_CLASS
(cherry picked from commit 8f94719152)
2023-05-16 12:37:45 -05:00
Marco Belladelli ac8b2a02b1
HHH-16576 Fix column aliases when rendering query part with table reference aliasing emulation 2023-05-15 16:05:47 +02:00
Christian Beikov 5f99dd3862 HHH-15726 Fix treat disjunction handling and improve pushdown 2023-05-15 12:21:39 +02:00
Gavin 167a14bcc7 fix rendering of in (...) lists
they are not function calls
2023-05-15 12:21:39 +02:00
Marco Belladelli 8e9df4344e
Fix several tests failing on Oracle 11 and some others on older dbs 2023-05-15 09:27:02 +02:00
dependabot[bot] e5e1edac2d Bump com.gradle.enterprise from 3.13.1 to 3.13.2
Bumps com.gradle.enterprise from 3.13.1 to 3.13.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:08:24 +02:00
Marco Belladelli 67ed4de530
HHH-16555 Correct source alias for embedded virtual table group joins on implicitly treated paths 2023-05-11 17:12:41 +02:00
Marco Belladelli f1f28182e7
HHH-16555 Consider implicit treats when creating SqmJoinable's navigable path 2023-05-11 17:12:38 +02:00
Marco Belladelli 70c01e07b8
HHH-16555 Add test for issue 2023-05-11 17:12:35 +02:00
Marco Belladelli 0f64b13ea3
HHH-16491 Special handling for generic component properties 2023-05-11 15:12:52 +02:00
Marco Belladelli a73db16523
HHH-16491 Add test for issue 2023-05-11 15:11:28 +02:00
Marco Belladelli f14f3702c6
HHH-16505 Avoid using the FK for left joins with condition 2023-05-11 15:09:53 +02:00
Marco Belladelli 38aa92a170
HHH-16505 Add test for issue 2023-05-11 15:09:49 +02:00
Marco Belladelli e3596b6297
HHH-16517 Don't clear map to allow prepared statement group reuse 2023-05-11 15:08:27 +02:00
Marco Belladelli 9c7268afce
HHH-16517 Add test for issue 2023-05-11 15:08:27 +02:00
Steve Ebersole 9e9a135218 fix sql highlighting
(cherry picked from commit b208755db9)
2023-05-10 17:00:41 -05:00
Steve Ebersole da71d54833 HHH-16542 - Bad get/is handling with bytecode enhancement 2023-05-10 12:27:05 -05:00
Jan Schatteman c3f25c83c5 Make the parseVersion() method in CockroachDialect.java public for Reactive 2023-05-10 19:10:49 +02:00
Davide D'Alto 36ebd31f61 HHH-16579 Add constructor to CockroachDialect
Hibernate Reactive needs a constructor that parses the version
and doesn't run a query on the database.
2023-05-10 19:10:49 +02:00
Felix a8cd4ad932 HHH-16580 - Some typos in org.hibernate.query.sqm 2023-05-10 18:26:55 +02:00
Jan Schatteman 527338d71a HHH-16549 - Fix potential NPE in LoadQueryInfluencers
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-05-10 16:01:08 +02:00
Christian Beikov f3d55de560 HHH-16423 Improve optional object handling for entity refreshing 2023-05-09 17:49:48 +02:00
Christian Beikov 3975541719 HHH-16423 Switch to row cardinality state enum in LoaderSelectBuilder 2023-05-09 17:49:47 +02:00
Marco Belladelli 82aa34eafd HHH-16453 Small changes for bag fetchables in LoaderSelectBuilder 2023-05-09 17:49:47 +02:00
Marco Belladelli a31b549920 HHH-16496 Add test for issue 2023-05-09 17:49:46 +02:00
Andrea Boriero 7b31b72512 HHH-16453 Loading an Entity with two eager collections, produces duplicates when one of the collection is a a bag 2023-05-09 17:49:46 +02:00
Andrea Boriero f1f74b06cc HHH-16423 Add tests for issue 2023-05-09 17:49:46 +02:00
Andrea Boriero d49229f5d0 HHH-16447 Add test for issue 2023-05-09 17:49:45 +02:00
Andrea Boriero 6162befe00 HHH-16423 LazyInitializationException when calling em.refresh() on entity with lazy and eager children 2023-05-09 17:49:45 +02:00
Andrea Boriero 08d8f412c0 HHH-16423 Add test for issue 2023-05-09 17:49:45 +02:00
Cedomir Igaly 6a61e5f266 HHH-16551 - Re-designed test case similar to org.hibernate.orm.test.annotations.beanvalidation.DDLTest 2023-05-09 15:53:36 +02:00
Cedomir Igaly 0a79ce8c47 HHH-16551 - Removed declared discriminator column length check 2023-05-09 15:53:36 +02:00
Cedomir Igaly 8fceeaf542 HHH-16551 - If discriminator column type is CHAR, set length to 1 2023-05-09 15:53:35 +02:00
Cedomir Igaly 16a74b02e3 HHH-16551 - Test case demonstrating the bug 2023-05-09 15:53:35 +02:00
Jan Schatteman 6844ed07b2 HHH-16515 - Add @nullable annotations to org.hibernate.action.spi
HHH-16515 - Add the org.hibernate.context.spi package to nullness checking
HHH-16515 - Add the org.hibernate.bytecode.spi package to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-05-08 22:02:19 +02:00
Marco Belladelli a92566a94d HHH-16425 Handle path sources in function return type resolvers 2023-05-08 15:50:26 +02:00
Marco Belladelli dd0d7619a7 HHH-16425 Add test for issue 2023-05-08 15:50:26 +02:00
Andrea Boriero d0e9a3e12f HHH-16298 Failure merging a referenced entity 2023-05-08 15:43:36 +02:00
Davide D'Alto 7ba895b0bd HHH-16298 Add test for issue 2023-05-08 15:43:35 +02:00