A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Which yields the best performance?
Joined: Apr 30, 2002
Feb 25, 2010 08:53:51
Which of these are the best for performance in terms of data retrieval..
HQL in Java code
Native SQL in
Named query in hbm file
Joined: Jul 20, 2009
Feb 26, 2010 00:00:16
HQL, Criteria and
are trandformed into PreparedStatements, so there cannot be any difference (for the same statement). Native SQL might be faster, because you can do some handmade "magic" Hibernate cannot do.
It is sorta covered in the
JavaRanch Style Guide
subject: Which yields the best performance?
Performance of JVM of J2SE1.4, Java5, Java6
weblogic performance/ application performance
Which server is best
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014