English French German Italian Portuguese Russian Spanish

logo_old

  • Java Training

    javaInterSource offers live instructor-led courses on all important Java-related technologies, including Apache Struts, Enterprise Java Beans (EJB), J2SE Desktop Java Enterprise Edition (Java EE), Java Fundamentals, Java Web Services, JavaServer Faces, JBoss, Java Server Pages (JSP), and Spring.

    Please refer to our detailed course outlines below.

  • About Java

    Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture

    Java is general-purpose, concurrent, class-based, and object-oriented, and is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere". Java is considered by many as one of the most influential programming languages of the 20th century, and widely used from application software to web application.

    Read More

  • Course Details Java

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

Hibernate Training

 PDF PrintEmail

Course duration

  • 3 Days

Course Outline

This course develops skills in using the Object/Relational Mapping tool Hibernate®. By the end of the course, students will be prepared to set-up and use Hibernate as the persistence mechanism in Java applications.

The course targets Hibernate 3.2. For training in more recent versions, and especially to learn about Hibernate as a provider under the newer Java Persistence API standard, consider Course 161-HB, JPA with Hibernate.

  • Configure Hibernate using both properties files and XML documents.
  • Create mapping documents for Java classes.
  • Define object relationships and build mapping documents to model them.
  • Use components to model composition relationships in the object model.
  • Work with one-to-one, many-to-one, and many-to-many relationships.
  • Evaluate the different approaches to modeling inheritance and polymorphism in database schema.
  • Build Java applications that use Hibernate to create, retrieve, update, and delete objects.
  • Use Hibernate's Criteria Query API to do searches and Query By Example.
  • Work with Hibernate Query Language (HQL) to generate object-based SQL.
  • Understand Hibernate sessions and transactions and their impact on performance.
  • Intermediate knowledge of Java programming;
  • Some familiarity with SQL, relational databases, and the Java Database Connectivity (JDBC) interfaces will be helpful;
  1. Introduction to Hibernate
    1. The Object/Relational Mapping Problem
    2. JDBC
    3. The Hibernate Alternative
    4. Hibernate Architecture and API
  2. Configuring Hibernate
    1. The Hibernate Distribution
    2. Required Libraries
    3. Configuration Files
    4. hibernate.properties
    5. hibernate.cfg.xml
    6. Programmatic Configuration
  3. Hibernate Persistence
    1. The SessionFactory Interface
    2. Object States
    3. The Session Interface
    4. Transactions
    5. Session Duration
    6. The Data Access Object Pattern
  4. Object/Relational Mapping
    1. O/R Mapping Issues
    2. The Mapping Vocabulary
    3. Primary Keys and Identity
    4. ID Generators
    5. Mapping Associations
    6. Unidirectional and Bidirectional Associations
    7. Managing Cardinality
    8. Strategies for Mapping Inheritance
  5. The Criteria Query API
    1. Criteria Queries
    2. The Criteria Interface
    3. Using Restrictions
    4. Windowing Results
    5. Sorting
    6. Traversing Associations
    7. Projections and Aggregates
    8. Grouping
    9. Query By Example (QBE)
  6. Hibernate Query Language
    1. Building HQL Queries
    2. The Select Clause
    3. The Where Clause
    4. Named and Entity Parameters
    5. Associations and Aggregates
    6. Bulk Updates and Deletes
    7. Named Queries
    8. Using Native SQL

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.