Announcement Announcement Module
Collapse
No announcement yet.
jdbctemplate vs hiberantetemplate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • jdbctemplate vs hiberantetemplate

    Hi,

    A newbie question:This is in context of hibernate named queries for running oracle sql queries.
    Would I get better performance if I use jdbctemplate instead of hibernatetemplate's named query for this?
    Any concerns?

    Appreciate any insight into this.
    Thanks.

  • #2
    There should be no significant performance differences at least for the query execution. But JdbcTemplate is more flexible with the regard of handling a result row by row (hibernate loads the full result and after that you can work with it).

    Comment


    • #3
      Consider read this post too

      So should you still use Spring's HibernateTemplate and/or JpaTemplate??

      HTH

      Comment

      Working...
      X