-->
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: Criteria based Updates?
PostPosted: Thu Oct 23, 2008 6:51 am 
Newbie

Joined: Thu Oct 23, 2008 6:38 am
Posts: 2
Hi,

I'd like some advice on designing a solution to a problem that I'm facing:

I'm displaying data to the user and allowing them to filter it using Hibernate Criteria. The data set is very large so can't be loaded into memory, I'm paging the data.

I have a requirement to allow all of the filtered data to be updated. Just a case of updating a single column with a set value.

I've taken a look and can't find a way in which I can perform an update and make use of the same Criteria that I used to filter the data in the first place.

I don't really want to load the entire data set in memory using the criteria (since its large) and then perform updates.

Is there a way I can do this easily? Any help on finding a good solution welcome.

Thanks

Jit


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.