I am not sure what is the use of fetch mode in Aot query . What difference it makes when set to 1:n and 1:1. I have 2 tables , have a One to one relationship logically but when I use them in queriy as outer join and set the fetch mode to 1:1. Then query behave abnormally. Have some one experienced the same issue ...????