Thanks for your reply, but that does not answer my question.
Let me try to give a better explanation of my issue :
Let's say we have the relationships as follow :
A --> B --> C -->D
|--> E --> F
That is, A have relations with B and E
B have a relation with C
C have relation with D
E have relation with F
Now imagine for a particular query i only need A, B, C, and E
I will make a query for A, with prefetch path to B, C, and E.
But then, when i will pass my entity A to the constructor of my DTO A, it will use already fetched ( without lazy loading ) B, C and E. => That is OK.
It will then lazy load D and F. => I don't want that.
So my question is :
Can i make a query for A, with prefetch for B, C and E, and disable all lazy loading for all others entities ?