Course Code: JAVA-HIB-001
Duration: 3 Days - custom / on-site options available - please call.
Who should attend: Developers who aim to develop Java applications with hibernate
Prerequisite Skills: Delegates should have a good grounding in core java and databases.
Course Content
This course has been developed for real-world, commercial scenarios by our expert instructors. See below for detailed syllabus.
Mapping Persistent Classes
From POJO to database
XML-style mapping
Annotation-style mapping
The Hibernate Environment
The session manager
Transitive persistence
Dealing with long-running transactions
Locking implications
Advanced Mapping
Mapping to collection classes
Managing multiplicity: one-to-many, many-to-many
Custom mapping types
Source Files
Creating the SessionFactory
Fetching strategies
The n+1 issue and its solution
Lazy (and aggressive) fetching strategies
Querying data
Using HQL
Using criteria
Incorporating native JDBC and stored procedures
Performance Considerations
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
environment
Best of both worlds: Hibernate EntityManager
|