ObjectNotFoundException thrown when @NotFound(action = NotFoundAction.IGNORE) used with enhancement

Description

NotFoundAction.IGNORE's java-doc says — Ignore the element when not found in database.
However when use with @LazyToOne(value = LazyToOneOption.NO_PROXY) annotation, an org.hibernate.ObjectNotFoundException has been thrown.
Should this annotation work like it's doc?

Environment

None

Status

Assignee

Gail Badner

Reporter

周之越

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.1.10
5.2.12

Priority

Major