-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Filter error - can someone help?
PostPosted: Mon Dec 22, 2003 7:11 pm 
Beginner
Beginner

Joined: Thu Sep 04, 2003 1:46 pm
Posts: 20
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);


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.