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?
Yes, this is a bug; this should work as documented.
Fixed in master, 5.2, and 5.1 branches.