Hibernate is an open source object/relational
(OR) persistence and query service for Java. Hibernate lets you develop
persistent classes following common Java idioms - including association,
inheritance, polymorphism, composition and the Java collections framework.
The Hibernate Query Language, designed as a minimal object-oriented extension
to SQL, provides an elegant bridge between the object and relational worlds.
Hibernate also allows you to express queries using native SQL or Java-based
Criteria and Example queries.
Hibernate is now the most popular OR mapping solutions for Java, and it has
become a de facto standard in Java OR mapping. JBoss has integrated
Hibernate into its JEMS (Java Enterprise Middleware System) product line.
The Java Persistence API (EJB 3) specification derives a great deal of its
architecture from Hibernate, and the Hibernate annotations are compatible with
the Java Persistence annotations. This promises to make Hibernate an even
more important technology.
All labs are done with the Eclipse IDE Java EE version, and the lab
instructions include detailed directions for using it. It is also available for
other major IDEs, such as IntelliJ IDEA.
Course Information
Duration: 3 days
Hands-on: 50%
hands-on, 50% lecture
Supported Platforms: Java 5, Java 6, Eclipse, IntelliJ
IDEA, other major platforms
Skills Gained:
Understand the benefits of
Hibernate
Understand the Hibernate architecture
Create Hibernate based
applications
Understand and use Hibernate mapping to map persistent objects
to the database
Understand and work with collections &
associations
Value and Entity Types
Bidrectional and
unidirectional
1-1, 1-N, N-N
Use Hibernate's versioning support
Map
inheritance hierarchies using Hibernate
Work with Hibernate queries, HQL, and
Criteria
Performance tune your Hibernate applications
Understand Hibernate
transaction support
Understand the relationship between Hibernate and Java
Persistence / EJB 3
Use the new Hibernate annotations to do OR mapping
Course Details:
Session 1: Introduction to Hibernate
Session 2: Updates and Queries
Session 3: The Persistence
Lifecycle
Session 4: Relationships
Session 5: Additional Querying Capabilities
Session 6: Hibernate and Java Persistence / EJB 3
Session 7: Advanced Topics