As per JPA 2.1, it is supposed to handle multiple result sets. Hibernate-4.3.10 is JPA 2.1 compliant. I have mentioned the issue in the code and the possible fix. If we fix it then it is returning what is expected.