Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Hibernate Basics!
You have completed Hibernate Basics!
Preview
In this first lesson, you will get a high-level look at some of the important classes of the Hibernate library.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
and now it's time to get a grasp of the
main components we'll be interacting with.
0:00
Check it out.
0:03
We've already seen this basic
graphic of a Hibernate application.
0:04
If we zoom into the Hibernate component,
we see some important pieces revealed.
0:08
First is the session factory.
0:12
In Hibernate, a session factory
is a fairly heavy weight object
0:15
that contains the relationships between
the application and a database.
0:18
There is usually just one
of these per application.
0:23
It encapsulates all the objects related
to mapping pojos to database tables and
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up