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
|