Commit Graph

15822 Commits

Author SHA1 Message Date
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
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
Steve Ebersole c4a3fbe550 Add a Dialect report
Also added
* H2Dialect#getMinimumSupportedVersion
* DerbyDialect#getMinimumSupportedVersion

(cherry picked from commit f87df304f9)
2023-05-03 09:56:39 -05:00
Marco Belladelli 45ec259efe
HHH-16483 Delay copying of cte statement definitions to handle recursion 2023-05-03 16:45:48 +02:00
Marco Belladelli 444df0cdfe
HHH-16483 Add test for issue 2023-05-03 16:45:43 +02:00
Christian Beikov ea47a011ad HHH-15871 Update EDB testing to version 15 2023-05-02 13:00:49 +02:00
Christian Beikov de37f328c2 HHH-16533 Fix issues with jConnect driver related to temporal literals. Also improve truncation and casting SQL 2023-05-02 11:16:30 +02:00
Andrea Boriero 64b4a94c88 Add to documentation drop-down selector links to 6.0 and 6.1 documentation pages 2023-05-02 09:21:18 +02:00
Jan Schatteman 634feade81 Remove the unused o.h.stat.internal.CategorizedStatistics
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-28 21:08:13 +02:00
Jan Schatteman 260a8cfff6 HHH-16515 - Add o.h.pretty to nullness checking
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-28 16:15:52 +02:00