point10.1.2007
PHP With MySQL Programming remains the #1 selling course of 2007!

point related info
point1.8.2007
PHP/MySQL course ends the year in dramatic fashion by outselling all other courses in the final quarter of 2006.

point related info
newsletter icon
Enter valid email address to
receive our monthly newsletter
Email:

Name:
spacer
 

Using Hibernate with Java Applications


Course Description:

Hibernate is a powerful, yet convenient way for Java objects to interact with relational databases as Java objects. This course will introduce you to an object-relational mapping service called Hibernate. With Hibernate, you are able to remove SQL queries from your code and make them into components of an object-oriented environment.

By the end of this course you will be able to use hibernate to create mappings between objects and database schema and make use of those mappings in a Java application.

In this course, you will:

  • Gain an understanding of object-relational mapping
  • Use Hibernate to create persistent objects
  • Use the information stored in those persistent objects
  • Create a Java application that uses object-relational mappings

Course Duration: 3-days
more info
email:
name:
phone: - -
message:

Prerequisites and Assumptions:

Participants should have experience with Java programming and relational databases or have attended our courses: Java Essentials and SQL Language. Familiarity with basic SQL and XML concepts is helpful but not required..

Recommended Follow-up/RelatedCourses

Introduction to Hibernate

  • What Can Hibernate Do For You?
  • What is Object/Relational Mapping?
  • Reference Materials

Installation and Setup
  • Java SDK
  • Apache Ant
  • MySQL Database
  • Hibernate
  • Creating a Project Structure
  • Testing the Setup

Introduction to Object/Relational Mapping
  • Creating a Mapping Document
  • Create an Ant build file
  • Configure Ant to Generate Java
  • Setting up hibernate.properties
  • Generating a Database Schema

Working with Persistent Objects
  • Creating Persistent Objects
  • Session object
  • SessionFactory
  • Transient objects
  • Persistent objects

Performing Object Queries

  • Hibernate Query Language Basics
  • Querying Persistent Objects
  • Named Parameter Queries

Working With Collections
  • Mapping Collections
  • Persisting Collections
  • Querying Collections

Working with Collections (cont'd)

  • Bidirectional Relationships
  • Simple Collections

Advanced Collections
  • Lazy Associations
  • Ordered Collections
  • Supplementing Associations in Collections
  • Lifecycle Associations – cascade attribute
  • Reflexive Associations

Advanced Object Queries

  • The Query API
  • Binding Parameters
  • Grouping
  • Subqueries
  • Optimizing queries
  • Native SQL query

Criteria Queries
  • Applying Simple Criteria
  • Compound Criteria
  • Criteria and Associations
  • Providing Example Criteria

Hibernate and Transactions

  • Local transactions
  • Global transaction
  • Hibernate transaction API
  • Isolation levels
  • Optimistic and Pessimistic locking

Hibernate and Caching
  • Hibernate Caching
  • Hibernate Caching Architecture
  • Hibernate API
  • Working with EHCache
  • Working with JBossCache

   
php logomysql logo

home | training | courseware | consulting | mentoring
contact us | about us | clients | news | policies

Copyright © 2005 by Ambrose King Company. All rights reserved.