Java Course » JV005 Application Development with Hibernate

  Course Code:   LP005   
  Duration:  2 Days Pricing :  11,200 Baht (VAT Included)
  Overview  
 

Hibernate® (http://www.hibernate.org/) is a high-performance object/relational persistence and query service. In this class, experienced Java developers learn how to put the Hibernate® engine to work within their applications.


Prerequisites

All attendees must have at least one year of full-time Java development experience and an excellent understanding of relational databases and SQL.


Hands-on/Lecture Ratio

This class is 70% hands-on, 30% lecture, with the longest lecture segments lasting for 20 minutes.


Software Needed on Each Student PC

 
  • Java SE SDK
  • The Hibernate persistence engine
  • Maven
  • Oracle XE
  • Java IDE of your choice (We will advise on specific versions of the software required based on your standard development and production environments.)

  • Objectives

     
  • To learn the fundamentals of using the Hibernate persistence engine
  • To discover how to persist different types of objects using the Hibernate engine
  • To master using HQL (Hibernate Query Language) to query objects stored in Hibernate
  • To discover how to perform unit testing on your Hibernate applications

  • Outline

    1.  Introduction to Hibernate
     
  • The Object/Relational Mapping Problem
  • JDBC
  • The Hibernate Alternative
  • Hibernate Architecture and API
  • 2.  Configuring Hibernate
     
  • The Hibernate Distribution
  • Required Libraries
  • Configuration Files
  • hibernate.properties
  • hibernate.cfg.xml
  • Programmatic Configuration
  • 3.  Hibernate Persistence
     
  • The SessionFactory Interface
  • Object States
  • The Session Interface
  • Transactions
  • Session Duration
  • The Data Access Object Pattern
  • 4.  Object/Relational Mapping
     
  • O/R Mapping Issues
  • The Mapping Vocabulary
  • Primary Keys and Identity
  • ID Generators
  • Mapping Associations
  • Unidirectional and Bidirectional Associations
  • Managing Cardinality
  • Strategies for Mapping Inheritance
  • 5.  The Criteria Query API
     
  • Criteria Queries
  • The Criteria Interface
  • Using Restrictions
  • Windowing Results
  • Sorting
  • Traversing Associations
  • Projections and Aggregates
  • Grouping
  • Query By Example (QBE)
  • 6.  Hibernate Query Language
     
  • Building HQL Queries
  • The Select Clause
  • The Where Clause
  • Named and Entity Parameters
  • Associations and Aggregates
  • Bulk Updates and Deletes
  • Named Queries
  • Using Native SQL
  • 7.  Conclusion
     
      PREV   NEXT  
    TOP