Thread:
 An other difference on UniqueResult() method 
 blaisebraye   26 Sep 2007, 18:59 
 Re: An other difference on UniqueResult() metho... 
 blaisebraye   26 Sep 2007, 19:02 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: blaisebraye (26 Sep 2007, 19:02) Replies: 0, Views: 4019
Subject: Re: An other difference on UniqueResult() method
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE PAGE!
On 26 Sep 2007 18:59, blaisebraye wrote:

>Now, CreateQuery(querry).UniqueResult() return an Int64 and not an
>Int32 (int) as before...

>for people who think it's a problem to work with Int64, they are wrong
>because processors are as fast to process on both (Int64 and Int32)
now.

>May be the only argument to take care is if you want to spare some
>space.


I forgot to mention that this is about the case that the querry has the 
form "select count(*) from ..."
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]