File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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..
Native SQL in java code
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.
I agree. Here's the link:
subject: Which yields the best performance?
Which server is best
weblogic performance/ application performance
Performance of JVM of J2SE1.4, Java5, Java6
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015