Announcement Announcement Module
Collapse
No announcement yet.
compare JDBC Template and Hibernate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • compare JDBC Template and Hibernate

    I need to know difference of using Hibernate and Sring template. also can i use Spring instead of Hibernate?

  • #2
    Spring's HibernateTemplate is a convenience class for accessing hibernate. So you cannot use it without hibernate. That said, in newer hibernate versions you do not need to use it, as hibernate has overcome some of its deficiencies that triggered the introduction of this class. Have a look at the documentation for some details.

    Regards,
    Andreas

    Comment


    • #3
      No you cannot. Either use plain hibernate or use Spring/Hibernate you will need Hibernate. Read the reference guide chapter 12 especially chapter 12.2 which covers Hibernate.

      Comment


      • #4
        I would agree with the previous points but I'm not entirely sure I understood the original question. Are you comparing JdbcTemplate and Hibernate? If that's the case yes you can use Spring without Hibernate, just use Jdbc instead.
        Last edited by karldmoore; Aug 29th, 2007, 10:27 AM.

        Comment

        Working...
        X