Non-optional, lazy @OneToOne( mappedBy = "..." ) attribute does not get initialized as a proxy

Description

Given the following mappings:

Assuming enhacement-as-proxy is enabled (hibernate.bytecode.allow_enhancement_as_proxy=true), when an Employer is loaded, Employer#employerInfo is not initialized as an enhanced proxy. It is lazily loaded when accessed.

Environment

None

Assignee

Unassigned

Reporter

Gail Badner

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure