Java EE Programming: Hibernate

with Greg Matus


Course Description: As data models get more complex it becomes harder for programmers to create applications to access that data. Enter Java Hibernate. Hibernate is a middle-tier developer framework for Object to Relational Mapping (ORM). A Hibernate tier is used as a go-between from the data tier to the client tier thus creating an automatic translation between the Object Oriented model and the required relational data model. This course will start you on the journey to understand Hibernate. First you’ll cover the basics of what Hibernate is and what is does. Then move to ORM and persistence in class mappings and many other items. Then you’ll see Value types, components and Collections and finish up with Entity Associations.


Prerequisites: This course assumes you are familiar with object-oreinted principals and have a solid practical understanding of polymorphism in Java. You must also have a working knowledge of Eclipse IDE for Java EE.

9+ hours of media runtime

Introduction to HIbernate

  • Hibernate Object to Relational Mapping (ORM)
  • Benefits of Hibernate
  • Hibernate Supports Caching

Getting Started with Hibernate

  • Understand the Nuts and Bolts of Hibernate
  • Understand How to Map a Class to the Database
  • Understand the Configurations Involved and Their Relationships
  • List Different Ways of Configuring Hibernate
  • Understand the Overall Syntax of the Hibernate Configuration File
  • Understand the Overall Syntax of a Mapping File
  • Introduce the org.hibernate.SessionFactory
  • Introduce the org.hibernate.Session
  • Understand One Way of Obtain a Session Using Hibernate Contextual Sessions
  • Supply a Basic Example of Using Hibernate

Basic ORM

  • Configure Persistent Classes
  • Configure Persistent State of a Class
  • Understand the Requirements for a Persistent Entity Class
  • Understand Object Identity in Hibernate
  • Understand How to Correctly Implement Equals and hashCode in Hibernate
  • Discuss Object Identity and a Caveate in hashCode and Equals Implementations
  • Discuss Different WAys of Generating Unique Numbers for Keys
  • Understand How to Influence Mapping to Columns
  • Understand How to Map Properties of a Class to Multiple Tables

Value Types and Components

  • List Different Element Types: Simple Types, Composite Types and Entities
  • Map Composition Using Hibernate's Components
  • Use Components as Composite Identifiers
  • Map java.util.Set and java.util.List
  • Correctly use a Comparator
  • Map a java.util.Map
  • Map the Key of the Map

Collections

  • Understand the Different Collection Types Supported
  • Understand Programming Restrictions when Using Collections
  • Understand Hibernate's Bags
  • Introduce Dynamic Components

Entity Associations

  • List the Different Types of Associations
  • Understand the Difference Between Uni- and Bidirectional Associations
  • Understand How to Map Unidirectional One to One, Many to One and One to Many Associations
  • Understand How and When to Use Join Tables
  • Understand How to Map Many-to-Many Associations
  • Understand How to Configure Bidirectional Associations
  • Understand How to Cascade Over Associations
  • *Outline subject to change

Get our entire learning library

ONLY

$99
.99
per year

JavaScript, jQuery, Java SE, Java EE and more...
  • 400+ video tutorials
  • Java development experts
  • Future video releases FREE
  • 100% money-back guarantee


Not ready to buy? Try now