Announcement Announcement Module
Collapse
No announcement yet.
Spring ORM support for JDBC? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring ORM support for JDBC?

    as it is stated at http://static.springsource.org/sprin...rence/orm.html

    The Spring Framework provides integration with Hibernate, JDO, Oracle TopLink, iBATIS SQL Maps and JPA:

    My question here is does not spring provide ORM support for JDBC?

    Is it bacause of the reason In JDBC that we are extracting the values manually like in rowmapper or result set extractorand
    putting it in java data objects but in case of other frameworks like hibernate we directly get the java objects filled with
    values corresponding to column in database? And while persisting also we have to do it manually like with prepared statement
    creator?

  • #2
    I think you are confused

    Hibernate work around mapping Classes(Entities) with Database Tables

    JDBC no mapping nothing, is 100% based on SQL, what you already seen is about JDBC Template own by Spring Core
    it is really a huge improvement about over JDBC like you already did realize . It gives the impression to be something closely related with ORM, but it is not

    Even more you have available MyBatis (known before like Ibatis) there use the DataMapper pattern, other history

    HTH

    Comment

    Working...
    X