Hibernate with JPA

If Java is used for enterprise class applications, accessing relational data in an effective way, the use of a good persistence framework is a very important. The Hibernate framework offers a complete object-relational mapping solution to this end. HIbernate makes use of the standard Java Persistence Architecture (JPA) of the Java EE platform.

The purpose of this course is to show the participant how a Java application can be mapped to a relational database schema with the use of the Hibernate framework combined with JPA.

Schedule

No public sessions are currently scheduled. We will be pleased to set up an on-site course or to schedule an extra public session (in case of a sufficient number of candidates). Interested? Please let us know.

Intended for

Architects, designers and programmers who are interested in object-relational mapping, using Hibernate and JPA.

Background

Knowledge of Java programming (see course Java programming) and relational databases (see course SQL and relational databases fundamentals) is required. Familiarity with XML (see course XML concepts) is an advantage.

Main topics

  • Overview of Hibernate and the Java Persistence Architecture (JPA)

O/R mapping • Hibernate architecture

Java Persistence Architecture: annotations • mapping • entity manager

  • Hibernate configuration

SessionFactory • JDBC connections • logging

  • Persisting objects

Persistent classes • components • relations • inheritance • collections

Different mapping options • n-n associations

  • Querying

Criteria Queries • HQL (Hibernate Query Language) • native SQL

  • Caching • transactions and concurrency • performance

Training method

Lecture and hands-on exercises. The participants will work with Java applications accessing IBM Db2, Oracle, MySQL, MariaDB or other databases.

Duration

3 days.

Course leader

Sandy Schillebeeckx, anova.


SESSION INFO AND ENROLMENT