dimas wrote:
You always can make a separate method (additional to "standard" getTransfers getter) like getTransfers(Date, Date) which retrieves only part of collection using collection filter (session.filter(...))
Thanks, this worked partially. I now get transfers within a give time period but if I look at sql hibernate executes it first retrieves the wallet, then selects all the transfers and only at the end are transfers selected based upon the given time period. Is there a way to avoid selecting all the transfers ?