Suppose I have the following objects (one table per object) with this relations: A -> B -> C -> D
If I findById an instance of A, all B, C and D are returned which is not I want. Is this possible to force Hibernate only to return A (or only it's primitive properties)?
I know that I can write "SELECT a.x, a.y, a.z, ... FROM A"
and then manually put the result list of objects in A, but this is somewhat timely as I should manually fill all properties. I have also checked all Hibernate query hints but nothing related.
Mohsen