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
Joins
Native SQL queries
Workshop: Writing complex queries
Duration
3 days
Price
£ 1600
Audience
All
Prerequisites
Mastery of object-oriented programming in JAVA – Notions of SQL
Reference
JAV100223-F
Sessions
Contact us for more informations about session date