The persistence layer is an essential feature of any enterprise application used to store and retrieve objects from a database.
It’s quite common for persistence layers to be developed in-house to cope with issues as they arise. However, if changes are made to the underlying database schema, it can be time-consuming and thus expensive to propagate the changes throughout the application.
Hibernate can be used to solve these problems, providing a relatively simple and powerful object-relational persistence framework for Java applications, and is often used alongside Spring and Struts frameworks.
Our intensive hands-on Hibernate training course will provide delegates with the skills necessary to develop Java applications that rely on Hibernate for persistance solution. Available as a public or closed course at our London training centre, or can be tailored to your team's requirements and delivered onsite as a bespoke, customised training course.
This course has been developed for real-world, commercial scenarios by our expert instructors. See below for detailed syllabus. If you have a technical question, please email email@example.com
Hibernate Training Course Outline
The Object-Relational Divide
Relationship between SQL, JDBC and objects
Bridging the chasm: issues with OO and databases
Key elements: a simple Hibernate project from start to finish
Mapping Persistent Classes
From POJO to database
The Hibernate Environment
The session manager
Dealing with long-running transactions
Mapping to collection classes
Managing multiplicity: one-to-many, many-to-many
Custom mapping types
Creating the SessionFactory
The n+1 issue and its solution
Lazy (and aggressive) fetching strategies
Incorporating native JDBC and stored procedures
First- and second-level caching
Monitoring and tuning Hibernate-generated SQL
Hibernate and JPA
Comparison of Hibernate with the Java Persistence API
Pros and Cons of Hibernate versus JPA in an EJB 3
Best of both worlds: Hibernate EntityManager
Automatic schema generation
Automatic POJO generation
Accommodating existing schemas
The Hibernate console and mapping editor