Hi
Pity you didn't include some actual code. I suspect you're missing joinFetch instruction, which is necessary - at least in JPA (again, without code I may just assume you mean JPA and not native SQL).
Try something like:
.leftJoin(QDog.dog.owner).fetchJoin() // fetchJoin necessary
See whether it makes any difference.
The thing is that in the select(A) you only say to fetch A. You could select(A, B) - returning a tuple, which would also fetch things at once, but dealing with tuple may be unwanted here. That .fetchJoin() after join should help.
For more about N+1 select problem:
https://leanpub.com/opinionatedjpa/read#ch-avoid-n-plus-1Cheers
Virgo