When I run a Query on Oracle SQL Developer it returns 387 rows.
The issue happens on my Java code, I’m iterating on results from NamedQuery but it has the size of 352.
Iterator itProc = session.getNamedQuery("QueryName") .list() .iterator();
I’ve also got the query from Hibernate showing it on Jboss console and I’ve run it on Oracle SQL Developer and it has returned the 387 rows.
Any idea on what is happening?