1 / 23

Java Persistence API

Java Persistence API. Maciej Adamiak. Agenda. Entity , Entity Operations, Query Language. ORM. JPA in an enterprise class application. Providers. JPA. Entity. EntityManager. EntityManagerFactory. Persistence Context. Metamodel. EntityManagerFactory. Example. Definition.

jacksonj
Download Presentation

Java Persistence API

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Java Persistence API Maciej Adamiak

  2. Agenda Entity, EntityOperations, Query Language

  3. ORM

  4. JPA in anenterpriseclassapplication

  5. Providers

  6. JPA Entity EntityManager EntityManagerFactory PersistenceContext Metamodel

  7. EntityManagerFactory Example Definition

  8. Exercise I - Configuration

  9. Entity

  10. CommonEntityAnnotations

  11. Exercise II – creating a domain model Layer • POI, • AltitudePoint, • PathNode • Car • Polygon (Area) • UrbanArea, • GreenArea • ... Line View

  12. EntityManager Example Definition

  13. Transaction Example Definition

  14. Entityoperations

  15. Exercise III – entityoperations

  16. MetaModel/ CanonicalMetamodel Example Definition

  17. JPQL I

  18. JPQL II Pathvariable @Entity In BNF: select_statement:: = select_clausefrom_clause [where_clause] [groupby_clause] [having_clause] [orderby_clause]

  19. Criteria API Example Definition

  20. Exercise III – entityoperations

  21. FinalExercise

  22. Bibliography Pro JPA 2;Mike Keith, Merrick Schincariol Head First: Design Patterns;Eric Freeman, Elisabeth Freeman JSR 317: JavaTMPersistence API, Version 2.1

  23. www.tt.com.pl

More Related