Joined: Thu Mar 30, 2006 9:21 pm Posts: 11
|
Hibernate version: 3.1.2
I have a situtation where I am retrieving blocks of data and then retrieving matching data from a second database. To do this I am using criteria objects with appended Restrictions.in(String, List) criterions to get the second lot of data.
because I an getting the data in blocks I would like to reused the Criteria object. However there seems to be no facility to changed an already appended criterion or to clone an established criteria before adding the in() criterion. It looks like I have to build the criteria from scratch each iteration.
Has anyone found a way to do this ?
ciao
Derek
_________________ Derek Clarkson
Analyst Programmer
Aegeon Pty Ltd
Melbourne Australia
|
|