Hi,
I'm trying to filter a collection, but I keep getting the following exception. Can someone tell me what I'm doing wrong or point me to better docs on filter clauses?
Thanks in advance!
-Ben
net.sf.hibernate.QueryException: The collection was unreferenced
Here's my filter code:
List payments = Borrwer.getPayments();
String paymentsFilterStr =
"where this.vmthUsed is not null"
+ " and this.vmthPayment is not null "
+ " and this.monthlyPayment is not null";
payments = (List)session.filter(payments, paymentsFilterStr);
|