This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
What i get in return when I do a query is a collection of 300 elements. 298 of the elementds are null
While 2 of them are instances of my UploadedFile. These 2 instances are correct. But they are in the middle of all the nulls (elemets 248 and 249)
But due to how my system works id like to be able to not have all the null elements. Is there a way of eliminating these null elements?
I know Hibernate has its own implementation of collections but having all the null elements is terribly