From fd248e9f6a44ab3508e7dfee3a4ffb3092dd8e15 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Wed, 5 Jun 2024 08:38:06 +0200 Subject: [PATCH] HHH-15722 Release announcement --- release-announcement.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/release-announcement.adoc b/release-announcement.adoc index 2be9097ff6..23ea211ed4 100644 --- a/release-announcement.adoc +++ b/release-announcement.adoc @@ -208,3 +208,13 @@ Oracle engineers contributed the support for vector data types and functions to to use with Oracle database version 23.4 and newer. For further information about vectors, consult the link:https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/overview-node.html[Oracle documentation]. + +[[one-to-many-mapped-by-any]] +== `@OneToMany(mappedBy)` support for `@Any` + +So far, the target of `@OneToMany` had to be a `@ManyToOne`. To map a `@OneToMany` based on an any association, +it was necessary to spell out a custom `@SQLRestriction` and specify the join columns. + +Targeting an `@Any` association is now supported and will default to the appropriate join columns, +as well as add a `@SQLRestriciton` to the `@OneToMany` automatically. +