-->
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: NH 1.2 b3 - fetch all returns 1 < tot - SOLVED
PostPosted: Fri Feb 09, 2007 6:29 am 
Newbie

Joined: Thu Apr 13, 2006 5:36 am
Posts: 2
Hi

SOLVED: my own idiocy, was settiing ICriteria.SetFirstResult = 1. Sorry.

------------------------------------------------------------------------------

Has anyone come across this issue with NH 1.2 beta 3, sqlite 2.0 driver:

The IList has consistently 1 less than the total number of objects that should be returned. I have traced this into the NH code as far as I am able.

I have compared results from the same sql (as issued by NH) using the same SQLite driver directly from Visual Studio & using SQLiteAdmin to verify that it is not a driver issue or a db issue.

I have not found any related issue logged in Jira.

regards

Basil


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.