Xeridia

Hibernate Course

Description :

Hibernate is a relational-object mapping tool for Java, which makes mapping between a traditional relational database and an object oriented application much more easier, through declarative files which allow to create those links. Besides, it's open source software, under GNU LGPL license.

Hours : 20

Minimum requirements :

Previous knowledge required for this course:

  • Object Oriented Programming
  • Java, especially java.sql package
  • SQL

Agenda :

  • Introducción
    • What is Hibernate?
  • ORM paradigm with Hibernate
    • What is ORM paradigm?
  • First steps
    • Hibernate position in application architecture.
    • First steps with Hibernate.
    • Mapping a database class
    • Hibernate configuration
    • Building database diagram
    • Persistent object in the database
    • SessionFactory interface
    • Session interface
    • Transaction interface
    • Summary
  • Mapping Object - Relational classes
    • Example application
    • JavaBeans design improvement. Entities and components.
    • Mapping classes to database through XML files.
    • Mapping classes to database through annotations.
    • Mapping classes to database through programming.
    • Inheritance mapping with Hibernate
    • Other considerations
  • Developing with Hibernate
    • Classes identity with Java and Hibernate
    • Persistent objects life cycle
    • Persistence context
    • Working with Session in Hibernate
    • Object replica between databases
    • Transactions
  • Databases requests
    • HQL
    • Criteria API
  • Annotations
  • Hibernate in a multi-layer application
    • J2EE applications architecture
    • SessionFactory and Session inizalitation
  • Practice exercises

If you are interested, contact us in formacion@xeridia.com