Results 1 to 4 of 4

Thread: A fundamental question about data access through hibernate

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    4

    Exclamation A fundamental question about data access through hibernate

    I know a lot need to explored before asking this but still as a fresher inquistiveness i want to know that whether
    "It is possible to do all the data access tasks if we use spring and hibernate together...or is there something that has to single handedly done by Spring 1.2 or Hibernate 3.0"

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Spring is just a glue around Hibernate - HB will be the framework that will do all the data access in the end. If you can do the data access through Hibernate clearly you can do it through Spring and HB (most of the times in more easier way).
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  3. #3
    Join Date
    Jan 2006
    Posts
    4

    Default

    Quote Originally Posted by costin
    Spring is just a glue around Hibernate - HB will be the framework that will do all the data access in the end. If you can do the data access through Hibernate clearly you can do it through Spring and HB (most of the times in more easier way).
    Thanks for the booster .
    In that case is implementing HibernateDAOSupport is the only ay way to hook up with Hibernate from Spring ...or there are other ways...if so where do i find them

  4. #4
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    HibernateDAOSupport is a utility class - you can chose to use that or not - it's up to you and your requirements. See the reference documentation for more details about the hibernate support and then see the samples provided along with Spring.
    There are also a lot of tutorials on the site called springhub.com
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Posting Permissions

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