Mail :
India : +91-8143-111-555
USA : +1-703-445-4802
uk : +44-20-3287-2021
Whats app : +91-8143-110-555
Facebook Twitter Google Plus Pinit Stumbleupon Youtube Blog Blog

Workday HCM Demo New Batches Starting from Friday... 30-3-2018
Search Course Here

Live Chat
JPA2 Online Training



The Java Persistence API, sometimes referred to as JPA, is a Java programming language application programming interface specification which describes the management of relational data in applications using Java Platform, Standard Edition and Java Platform, Enterprise Edition.The Java Persistence API originated as part of the work of the JSR 220 Expert Group of the Java Community Process. JPA 2.0 was the work of the JSR 317 Expert Group.
  • All attendees must have substantial prior Java development and relational database experience.
  • It is a 12 days program and extends up to 2hrs each.
  • The format is 40% theory, 60% Hands-on.

  • It is a 3 days program and extends up to 8hrs each.
  • The format is 40% theory, 60% Hands-on.
    Private Classroom arranged on request and minimum attendies for batch is 4.
course content
  • Introduction to Java Persistence API (JPA)
    • Overview
      • Persistence Layers, Object-Relational Mapping (ORM), JDBC
      • JPA Overview
    • Mapping with JPA
      • Entities and @Entity, ids and @Id
      • Generated Id Values
      • Basic Mapping Types
    • Persistence Unit and EntityManager
      • Persisting to the DB, the EntityManager API
      • Persistence Units, Config, Persistence Context
      • Retrieving Persistent Entities with find()
    • More About Mappings
      • Default Mappings, @Basic, @Column
      • Field vs. Property Access
      • Temporal (Date/Time) Mappings
    • Logging Options (Provider based)

  • Updates and Queries
    • Inserting and Updating - Persisting new Entities, Updating an Instance, Removing an Instance
    • Querying and JPQL
      • Entity Based Queries, SELECT ,WHERE
      • Query Interface, Executing Queries, Generic Queries (JPA 2)
      • JPQL Operators, Expressions, and Parameters
      • Named Queries
    • Additional Query Capabilities
      • Projection query, Ordering, Aggregate Query, Build Update and Delete
    • Embedded Objects
      • Embeddable, @Embedded
      • Defining and using Embedded Objects
    • Compound Primary Keys - @EmbeddedID, @IDClass, Defining Compound Keys

  • The Persistence Lifecycle
    • Transaction Overview and Transactions in JPA
      • Transaction Overview
      • EntityTransaction API (including JTA and resource-local EntityManager)
    • The Persistence Lifecycle
      • JPA Entity States (New, Managed, Detached, Removed), and Entity State Diagram
      • Persistence Context - Lifespan, Propagation
      • Synchronization to the DB
    • Versioning and Optimistic Locking
      • Overview, Detached Instances
      • Versioning, @Version, Optimistic Locking
    • Lifecycle Callbacks
      • PrePersist, @PostPersist, etc.
      • Entity Listeners, @EntityListeners

  • Enitity Relationships
    • Relationships Overview: Object Relationships, Participants, Roles, Directionality, Cardinality
    • Relationship Mapping
      • Mapping Overview (1-1, 1-N, N-1, N-N)
      • Unidirectional and Bidirectional
      • ManyToOne, @OneToMany, Table Structures
      • Relationship Inverse - Owning Side
      • Collection Types (List, Set, etc)
      • Cascading Over Relationships (including orphanRemoval - JPA 2)
      • ManyToMany, @OneToOne
      • Lazy and Eager Loading
      • Queries Across Relationships (Inner Joins, Outer Joins, Fetch Joins)
    • Entity Inheritance Mapping
      • Overview
      • Single Table Mapping
      • Joined (Table per Subclass) Mapping
      • Table per Concrete Class Mapping
      • Pros and Cons

  • Element Collections (JPA 2)
    • Overview, Collections of Value Objects, @ElementCollection, @CollectionTable
    • Using Element Collections
    • Collections of Embeddables

  • Criteria API (JPA 2)
    • Overview of the Criteria API
    • Path Expressions, Building Queries (CriteriaBuilder, CriteriaQuery, Subquery, Predicate, Expression, Order, Selection, Join)
    • Executing Queries and Accessing Results

  • Additional JPA Capabilities
    • XML Mapping Files
    • Bean Validation (JPA 2)
    • Best Practices
      • Primary Keys, Named Queries, Lazy/Eager Loading, Transactional Semantics, Encapsulation, Report Queries

  • Integration
    • Data Access Objects (DAO) and Java SE Integration
      • DAO Overview
      • JpaUtil Class for EntityManager management in Java SE
      • Lifecycle Considerations
    • Integration with EJB
      • Using JPA with Session Beans
      • Container Managed (Injected) Entity Manger
      • JTA Transactions and Lifecycle Considerations
      • Extended Persistence Contexts
    • Using JPA with Java Web Apps
      • Using EntityManager in Web apps - request scoping
      • Lazy Loading - Open EntityManager in View Pattern
    • Integration with Spring
      • Injection of EntityManger, EntityManagerFactory
      • LocalEntityManagerFactoryBean
      • JPA/Spring Based DAO
JPA2 videos will be updated soon
To Watch More Videos Click Here

Flash News

AngularJS New Batch Starting From 8th April & 9th April.

Hadoop Dev New Batch Starting From 8th April & 9th April.

IBM COGNOS TM New Batch Starting From 8th April & 9th April.

Informatica Dev New Batch Starting From 8th April & 9th April.

Mean Stack New Batch Starting From 8th April & 9th April.

SAP BODS new Batch Starting From 8th April & 9th April.

SAP S/4 HANA New Batch Starting From 8th April & 9th April.

Tableau New Batch Starting From 8th April & 9th April.


(1) Workday Technical Demo Training

Demo Schedule : 09:30 P.M EST / 08:30 P.M CST / 6:30 P.M PST on 13th April & 07:00 A.M IST on 14th April

Email :
Rediff Bol :
Google Talk :
MSN Messenger :
Yahoo Messenger :
Skype Talk :