-->
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.  [ 2 posts ] 
Author Message
 Post subject: A little question...
PostPosted: Mon Jan 24, 2005 8:17 am 
Newbie

Joined: Fri Jan 21, 2005 12:33 pm
Posts: 5
What's the best technique to optimize loading?
I'm referring to pag.245 of Hibernate in Action. I want to inquire into the FAQ referred.

Summary:
Code:
Session.find()
is best than
Code:
Query.list()
?

Have you test this?

Thanks to all!

:)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 24, 2005 8:22 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
They are the same, find() is now deprecated in Hibernate3. This is documented in at least 3 places.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

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.