-->
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: Query Speed with Join Associations
PostPosted: Wed Jul 02, 2008 8:19 am 
Newbie

Joined: Wed Jul 02, 2008 8:10 am
Posts: 2
This is not really a mistake, but a configuration problem.

I have a query Hibernate 3, with Criteria, that run at double time than JDBC query. I need it faster.

Somebody knows as I do to make it faster, code or configuration or mappings?


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 04, 2008 11:11 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
There will always be a difference between what you can do by hand, and what a framework like Hibernate will do. Sometimes doing an HQL query, or even direct SQL, is actually not such a bad answer!

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


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.