🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Micah Newsum
    Micah Newsum
    5,002 Points

    Tests keep failing even because Spring doesn't recognize org.hibernate.SessionFactory as a bean.

    Posted February 10, 2021 10:26pm by Micah Newsum
    Micah Newsum
    5,002 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    0 Answers

  • James Clack
    James Clack
    4,883 Points

    Add a DAO objective

    Posted December 4, 2019 2:49pm by James Clack
    James Clack
    4,883 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    1 Answer

  • Hannah Lee
    Hannah Lee
    80,187 Points

    Add a service interface and implementing class in their respective files. Include a findById method that accepts a Long

    Posted December 29, 2018 7:19am by Hannah Lee
    Hannah Lee
    80,187 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a service for Contact objects

    1 Answer

  • James Nardy
    James Nardy
    3,858 Points

    Will this course get into deeper topics like the sessionFactory, DispatcherServlet and the like?

    Posted November 9, 2018 1:29am by James Nardy
    James Nardy
    3,858 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    0 Answers

  • sh10
    sh10
    6,225 Points

    Impl classes are evil?

    Posted November 7, 2018 5:04pm by sh10
    sh10
    6,225 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Writing Your First DAO

    0 Answers

  • Brandy Steals
    PLUS
    Brandy Steals
    Courses Plus Student 5,457 Points

    Bummer: ContactDao's findById method was not called

    Posted November 4, 2018 10:43pm by Brandy Steals
    Brandy Steals
    Courses Plus Student 5,457 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a service for Contact objects

    2 Answers

  • Lakshman Erukulla
    Lakshman Erukulla
    5,689 Points

    Require support this question

    Posted August 9, 2018 11:46am by Lakshman Erukulla
    Lakshman Erukulla
    5,689 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a service for Contact objects

    0 Answers

  • Vaibhav Yaramwar
    PLUS
    Vaibhav Yaramwar
    Courses Plus Student 4,292 Points

    What if two Implementation of Interfaces are there?

    Posted October 14, 2017 12:32pm by Vaibhav Yaramwar
    Vaibhav Yaramwar
    Courses Plus Student 4,292 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Writing Your First Service

    3 Answers

  • Ricardo Sala
    Ricardo Sala
    16,212 Points

    I can pass the test...

    Posted September 28, 2017 12:59pm by Ricardo Sala
    Ricardo Sala
    16,212 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    2 Answers

  • andrea molinari
    andrea molinari
    14,850 Points

    I do not find the error

    Posted September 19, 2017 7:48am by andrea molinari
    andrea molinari
    14,850 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    0 Answers

  • Ricardo Sala
    Ricardo Sala
    16,212 Points

    Why do we need DAO AND service?

    Posted September 8, 2017 8:26am by Ricardo Sala
    Ricardo Sala
    16,212 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Making Service Calls from a Controller

    1 Answer

  • David Prince
    David Prince
    5,799 Points

    Can't pass the challenge. When I modify code from Treehouse's github it cannot find symbol for .getCriteriaBuilder.

    Posted September 5, 2017 4:28pm by David Prince
    David Prince
    5,799 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    1 Answer

  • vincent batteast
    vincent batteast
    51,094 Points

    In the ContactDao interface, add a findAll method that returns a List of Contact objects. Then, in ContactDaoImpl.java i

    Posted August 10, 2017 12:47am by vincent batteast
    vincent batteast
    51,094 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    4 Answers

  • Hugo Hayes
    PLUS
    Hugo Hayes
    Courses Plus Student 13,146 Points

    bootRun startup failed

    Posted July 16, 2017 1:11pm by Hugo Hayes
    Hugo Hayes
    Courses Plus Student 13,146 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Testing Our Service and DAO

    3 Answers

  • Binyamin Friedman
    Binyamin Friedman
    14,615 Points

    Why use an interface?

    Posted July 11, 2017 5:52pm by Binyamin Friedman
    Binyamin Friedman
    14,615 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Writing Your First DAO

    1 Answer

  • Milan Nikic
    Milan Nikic
    3,001 Points

    Spring Hibernate quiz problem

    Posted July 3, 2017 6:44am by Milan Nikic
    Milan Nikic
    3,001 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    1 Answer

  • racheli vag
    racheli vag
    1,008 Points

    DAO And Service Layer -why do we need both?

    Posted April 21, 2017 10:24am by racheli vag
    racheli vag
    1,008 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Software Design Principles

    1 Answer

  • Jeremiah Shore
    Jeremiah Shore
    31,168 Points

    Add a service for Contact objects, task 2 not passing

    Posted April 19, 2017 12:18am by Jeremiah Shore
    Jeremiah Shore
    31,168 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a service for Contact objects

    1 Answer

  • Timothy Boland
    Timothy Boland
    18,237 Points

    In regards to the Spring projects, What is the difference between DTO and DAO?

    Posted February 21, 2017 5:08pm by Timothy Boland
    Timothy Boland
    18,237 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Writing Your First DAO

    1 Answer

  • Morgan Strnad
    Morgan Strnad
    14,292 Points

    Bummer! ContactDao's findById method was not called

    Posted December 8, 2016 1:31am by Morgan Strnad
    Morgan Strnad
    14,292 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a service for Contact objects

    0 Answers

  • Daniel Sorace
    Daniel Sorace
    9,396 Points

    what is it went wrong? It seem correct

    Posted November 26, 2016 5:14am by Daniel Sorace
    Daniel Sorace
    9,396 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    1 Answer

  • xiangwu
    xiangwu
    6,954 Points

    Which layer to take care of the transaction management

    Posted October 8, 2016 6:15am by xiangwu
    xiangwu
    6,954 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Making Service Calls from a Controller

    2 Answers

  • Mauro Teixeira
    Mauro Teixeira
    3,727 Points

    DAO: what's wrong here ?

    Posted August 14, 2016 8:04pm by Mauro Teixeira
    Mauro Teixeira
    3,727 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    1 Answer

  • ofir Dahan
    ofir Dahan
    12,705 Points

    Not sure why this is failing...

    Posted August 13, 2016 7:11pm by ofir Dahan
    ofir Dahan
    12,705 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Add a DAO

    2 Answers

  • Sergei Makarov
    Sergei Makarov
    13,839 Points

    Understanding Service Layer within context of Separation of Concerns.

    Posted August 12, 2016 7:11pm by Sergei Makarov
    Sergei Makarov
    13,839 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Writing Your First Service

    1 Answer

  • Karrtik Iyer
    Karrtik Iyer
    3,738 Points

    ThymeLeaf Template, when to use | vs + operator

    Posted July 23, 2016 6:29pm by Karrtik Iyer
    Karrtik Iyer
    3,738 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Testing Our Service and DAO

    2 Answers

  • Karrtik Iyer
    Karrtik Iyer
    3,738 Points

    Hibernate, how would we handle if we had two classes implementing the service interface?

    Posted July 23, 2016 5:56pm by Karrtik Iyer
    Karrtik Iyer
    3,738 Points
    • Java
    • Spring with Hibernate
    • Data-Driven Application Design
    • Making Service Calls from a Controller

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.