Results 1 to 2 of 2

Thread: Spring ORM support for JDBC?

  1. #1

    Default 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. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,791

    Default

    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
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •