-->
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 Version, History, Historized data
PostPosted: Sat Oct 07, 2006 10:37 pm 
Newbie

Joined: Mon Sep 25, 2006 10:21 am
Posts: 2
Everyone,

I have been looking at the Criteria quires and love them so far, except given a set of data like this. I have searched high and low and can not seem to find an example that does this. Thank you in advance.

ID GroupID Value
1 1 Data 1
2 2 Data 2
3 3 Data 3
4 3 Data 3 v1
5 3 Data 3 v2
5 2 Data 2 v1
6 1 Data 1 v1
7 1 Data 1 v2


How with a criteria do I get the most recent edits of this data...ie I want back data that would look like the following.
Data 1 v2
Data 2 v1
Data 3 v2

Thank You
Jim Tyrrell


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.