Presentation is loading. Please wait.

Presentation is loading. Please wait.

JPA Java Persistence API JAVA Enterprise Edition www.zhuanyshev.kz.

Similar presentations


Presentation on theme: "JPA Java Persistence API JAVA Enterprise Edition www.zhuanyshev.kz."— Presentation transcript:

1 JPA Java Persistence API JAVA Enterprise Edition www.zhuanyshev.kz

2 JPA - Introduction Java Persistence API is a collection of classes and methods to persistently store the vast amounts of data into a database which is provided by the Oracle Corporation. This tutorial provides you the basic understanding of Persistence (storing the copy of database object into temporary memory), and we will learn the understanding of JAVA Persistence API (JPA).

3 Class Level Architecture The following image shows the class level architecture of JPA. It shows the core classes and interfaces of JPA.

4 Object Relational Mapping Object Relational Mapping (ORM) briefly tells you about what is ORM and how it works. ORM is a programming ability to covert data from object type to relational type and vice versa. The main feature of ORM is mapping or binding an object to its data in the database. While mapping we have to consider the data, type of data and its relations with its self-entity or entity in any other table.

5 Advanced Features Idiomatic persistence : It enables you to write the persistence classes using object oriented classes. High Performance : It has many fetching techniques and hopeful locking techniques. Reliable : It is highly stable and eminent. Used by many industrial programmers.

6 ORM Architecture

7 Example:

8 persistence.xml

9 Adding data source into standalone.xml

10 Persisting object


Download ppt "JPA Java Persistence API JAVA Enterprise Edition www.zhuanyshev.kz."

Similar presentations


Ads by Google