15830 Commits

Author SHA1 Message Date
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 8f94719152c81cac4a3e7dd5d3a7e461602624f2)
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 b208755db9eb190de71adcdb9d08acead0dcda76)
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
Andrea Boriero
d503b55bde HHH-16469 Hibernate repeatedly issues identical SELECT queries to load an optional one-to-one association 2023-05-08 15:41:54 +02:00
Andrea Boriero
4e9586abc1 HHH-16469 Add test for issue 2023-05-08 15:41:53 +02:00
dependabot[bot]
5a436a1db6 Bump com.gradle.enterprise from 3.13 to 3.13.1
Bumps com.gradle.enterprise from 3.13 to 3.13.1.

---
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-08 15:39:38 +02:00
Maximilian Zellhofer
64c04e24e4 HHH-15393: fix for what looks like a copy & paste error
In the changes added to BasicCollectionPersister during HHH-15393, it looks as if generateUpdateRowOperation has maybe been copy-pasted from generateInsertRowOperation (which is perfectly fine), but when the custom sql update row operation is generated, the mutation details for the insert case rather than the ones for the update case are fetched. In case that this assumption is correct, there are some more in buildCustomSqlUpdateRowOperation, where getDeleteDetails() is used instead of getUpdateDetails().
2023-05-08 13:34:04 +02:00
Sanne Grinovero
11982572bd HHH-16545 PersistenceUtil.MetadataCache needs to be threadsafe 2023-05-05 16:50:01 +03:00