-->
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: Hibernate Performance for CRITERIA / SELECT Queries..
PostPosted: Thu May 04, 2006 3:01 am 
Newbie

Joined: Fri Apr 28, 2006 6:14 am
Posts: 8
Hi All,

How is the Performance of Hibernate for "SELECT" Queries..

I am just interested in fetching the data from the SQL & create an xml from the resultset..
The table may have large number of records..
I have multiple tables, from where i wanna do this..

Is it better to go with normal JDBC SELECT queries or Hibernate Criteria is good..


Thanks,
/Shridhar..


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 04, 2006 3:53 am 
Newbie

Joined: Fri Apr 28, 2006 1:09 pm
Posts: 9
If you want to use SQL then use JDBC Selects.

If you want to put some effort into using Hibernate to abstract away the SQL for relationships, then use hibernate. With hibernate you will replace the selects with calls to get inside of objects, but you will need to spend the time to map your database schema into hibernates XML files in order to do so.


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.