-->
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: Odd behaivor with Criteria.DISTINCT_ROOT_ENTITY
PostPosted: Sat Sep 24, 2005 5:53 pm 
Newbie

Joined: Tue Sep 21, 2004 6:10 pm
Posts: 16
Location: Toronto, Canada
Hibernate version: 3.1beta1

Name and version of the database you are using: HSQL-1.8.0.1

I am generating a Criteria and it works terrific!! However, after I set the resultTranformer to return distinct values (by using criteria.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY) ) the criteria.list does not return the amount of results specified by criteria.setMaxResult although the total count of result returned by this criteria is way larger than the number of results set in setMaxResult.
Have any one run into this problem before?? Am I missing something here??

Thanks in advance..

Erick


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.