Changes for include order by clausule in select one (for select the first) and fix bug in the select count
Fix update operation that not handle custom where
Drop unused field
Fix invalid comparator
Fix invalid null check
Handle nested managed sql sessions, and don't open a sql session if it is not handled properly
Handle optional deletion mark properly and include logical deletion verification in the update entity query