No automatic reindexing when setting a property annotated with @OneToOne(mappedBy = ...) @IndexedEmbedded to null

Description

From what I can see, we're not getting any ORM "post-update" event in this case. It's weird, because we do get an event when setting the property to a non-null value. I suspect it's a bug in Hibernate ORM.

Activity

Show:

Yoann Rodière September 6, 2021 at 12:18 PM

It’s caused by .

Note: I added tests while working on , annotated them with @TestForIssue(jiraKey = { …, “HSEARCH-4305“ }), and disabled them because they failed. When we upgrade to a version of ORM that fixed , we should re-enable these tests.

Yoann Rodière September 3, 2021 at 8:53 AM

I just confirmed this also affects Hibernate Search 6.0 (Hibernate ORM 5.4.32.Final)

Fixed

Assignee

Reporter

Components

Sprint

Priority

Created September 3, 2021 at 8:43 AM
Updated February 2, 2023 at 9:10 AM
Resolved October 19, 2022 at 4:04 PM
Loading...