Association defined in concrete class is not initialized when the entity is loaded by the base class

Description

When loading an instance with EntityManager.find(Class c, Object id) and using the base class instead of the concrete class then the association (defined in the concrete class) is not initialized. The returned entity is an instance of the concrete type with the association attribute set to null.
In my case: bidirectional one-to-one association with shared primary key

Environment

Hibernate 4.2.16 with Oracle DB

Assignee

Unassigned

Reporter

michaelb

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