US / UK-EMEA / Contact Ask DevelopMentor a Question800.699.1932

Applying Hibernate to Persistence in Java Training

(FW870) 4 Day Course, $2495
 
Upcoming Classes:

What You Will Learn

Course Highlights

Course Details

Dates & Locations

Mastering Hibernate is a four day in–depth course geared for experienced Java developers who need to understand what Hibernate is in terms of today’s systems and architectures, and how to apply Hibernate to persistence requirements in Java and J2EE applications.

Hibernate is a powerful enabler that addresses object/relational persistence in the Java world. Hibernate offers all the advantages of developing in Java plus a comprehensive suite of capabilities for mapping object–oriented features to the relational model. This course tells you what you need to know to design and build your own Hibernate–enabled applications. You’ll learn the details of the key Hibernate capabilities and how to leverage their strengths, with a special focus on using Hibernate with other technologies and frameworks. At the same time, you’ll be learning about the big picture of Hibernate and how to design applications to use Hibernate in a robust, efficient, secure, and maintainable fashion. If you want to deliver an application using Hibernate, you’ll find this course essential.

What You Will Learn

Course Highlights

Course Details

Dates & Locations

  • Explain how the issues associated with object persistence in a relational model are addressed by Hibernate
  • Understand the relationships between SQL, Java, JDBC, Spring, Java Persistence API, EJB 3.0, and Hibernate
  • Discuss the challenges to adopting Hibernate in the enterprise
  • Write applications that take advantage of the Hibernate Persistence Manager.
  • Map Java classes to relational tables.
  • Capture both relational and inheritance associations in metadata using either XML or the Java 5 Annotations mechanism.
  • Create and use mappings between Java classes and relational databases.
  • Understand how identity and keys are handled in Hibernate.
  • Understand the persistent object lifecycle and how that relates to transactions and concurrency.
  • Take advantage of Hibernate’s data filtering and interception.
  • What You Will Learn

    Course Highlights

    Course Details

    Dates & Locations

    Session: Introduction to Hibernate

  • ORM Mapping Issues
  • Hibernate Architecture
  • Persistence, Identity, and Equality in Hibernate
  • Domain Models and Metadata Options
  • Options for Representing Persistence


  • Session: Getting Started with Hibernate

  • Basic Mapping
  • Class/properties to Table/Columns
  • Basic Configuration
  • Mapping a POJO to a Database
  • Syntax of mapping file
  • Basics of Hibernate Session
  • Working with Persisted Objects


  • Session: Basic ORM in Hibernate

  • Configuring persistence
  • Object Identity in Hibernate
  • Generating Unique Keys
  • Mapping Classes to Multiple Tables


  • Session: Value–Type Collections and Components

  • Element Types
  • Mapping Compositions
  • Mapping Java Collections
  • Bags and Dynamic Components

    Session: Entity Associations (Relations)

  • Types of Associations
  • Uni– and Bi–Directional Associations
  • Using Join Tables
  • Many–to–Many Associations
  • Cascading Over Associations


  • Session: Mapping Inheritance

  • Strategies for Inheritance ORM
  • Single, Class, and Concrete Table Patterns
  • Discriminators


  • Session: Hibernate Annotations

  • Working with Hibernate Annotations
  • Annotation–Capable Sessions
  • Annotations and Persistence
  • Annotations, Mapping, and Relationships


  • Session: Working with Persistent Objects

  • Transient, Persistent, and Detached
  • Transitioning Between States
  • Options for Retrieving Objects
  • Attached and Detached States
  • Update, Merge, and Cascade


  • Session: Transactions

  • Transaction Control and Isolation Levels
  • Options for Demarcating Transactions
  • Using a Contextual Session
  • Correctly Handling Exceptions
  • Optimistic and Pessimistic Locking in Hibernate
  • Lock Scopes and Cascading


  • Session: Querying for Objects

  • Hibernate Query API
  • Hibernate Query Language (HQL)
  • HQL Syntax and Usage
  • Criteria
  • What You Will Learn

    Course Highlights

    Course Details

    Dates & Locations

    Upcoming Dates & Locations

    There are no upcoming scheduled engagments of this course. We can schedule an on-site event at your convenience.
    Ready?
    Connect
    Signup for our Free Newsletter!
    Latest news
    Twitter Feed MORE
    There is something to this statement: Why Quit? Because They Have Bigger Monitors http://t.co/9FrGETG5 #dm (via @mkennedy)
    19 hours ago (details)
    Essential RESTful Services Training. The new #REST course @BrockLAllen and myself where working on is online. http://t.co/XXhGN5JP #dm ^MdB
    2 days ago (details)
    Testimonials
    • Mark Smith did a great job and was very helpful when asked questions or when I asked for assistance. Chris C.