Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Rob Spoor
Junilu Lacar
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Piet Souris
Carey Brown
Bartenders:
Forum:
Object Relational Mapping
Which yields the best performance?
Jehan Jaleel
Ranch Hand
Posts: 196
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Which of these are the best for performance in terms of data retrieval..
Criteria API
HQL in
Java
code
Native SQL in java code
Named query in hbm file
Thanks.
Christian Dillinger
Ranch Hand
Posts: 200
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
HQL, Criteria and NamedQueries 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.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Which server is best
weblogic performance/ application performance
Chat Application
books
Performance of JVM of J2SE1.4, Java5, Java6
More...