I am new on Hibernate and started working with a small project to test how it works, so far so good but now I\'m facing a strange issue when retrieving data executing a 2 query