rhbz1102964 - use native query and clear session after each batch