Goals
- Implement a powerful persistence layer with JPA / Hibernate
Program
JDBC reminders and DAO (Data Access Object) pattern
ORM (Object Relational Mapping ) frameworks:
JPA (Java Persistence API) contributions: specification,
Hibernate implementations : history, versions, functionalities
Dependencies, references
Global configuration of the project
Architecture of Hibernate objects / JPA equivalents
Workshop: Setting up the environment, creating an application using JPA / Hibernate, global configuration file
Mapping tables and management of primary keys (simple, compound)
Mapping types of bases, column properties
Managing competition: optimistic (versioning), pessimistic
Relationship Management: OneToMany / ManyToOne, OneToOne, ManyToMany
Setting waterfalls
Collections Management : Map, Set, List, …
Inheritance mapping
Loading strategies: Lazy or Eager
Named queries
Management of stored procedures
Retrieving the Hibernate session and querying / modifying
available Dao data and essential methods
Workshop: Realization of a global mapping diagram of a database, CRUD operations (Create Read Update Delete)
Hibernate Query Language: presentation, functionalities
Basic selections, filters
Complex joins
Aggregation, string functions, …
Management of Lazy loads
Native SQL queries
Workshop: Realization of complex requests
Entity lifecycle and validation
Interceptors, Event-listeners
Advanced configuration: performance and functionalities
Using the level 2 cache
Inversion of control with Spring ORM
Workshop: Cache management and Spring / Hibernate cohabitation
Duration
5 days
Price
£ 2310
Audience
Java SE / Java EE developers
Prerequisites
Mastery of object-oriented programming in JAVA - Notions of SQL
Reference
JAV100222-F
Sessions
Contact us for more informations about session date