First steps and detailed concepts Java Persistence api



Download 0,72 Mb.
Pdf ko'rish
bet30/30
Sana29.10.2022
Hajmi0,72 Mb.
#857994
1   ...   22   23   24   25   26   27   28   29   30
Bog'liq
JPA Mini Book

ABOUT THE AUTHOR
Hebert Coelho
is a senior Java Development, with 4 certifications and a published 
book about JSF (portuguese only). Founder of the blog uaiHebert.com visited from 
more than 170 different countries.
ABOUT THE EDITOR
Byron Kiourtzoglou
is a master software engineer working in the IT and Telecom domains. 
He is an applications developer in a wide variety of applications/services. He is currently 
acting as the team leader and technical architect for a proprietary service creation and 
integration platform for both the IT and Telecom industries in addition to a in-house big data 
real-time analytics solution. He is always fascinated by SOA, middleware services and 
mobile development. Byron is co-founder and Executive Editor at Java Code Geeks.
60 of 60

Document Outline

  • Reasons that led to the creation of JPA
  • What is JPA? What is a JPA Implementation?
  • What is the persistence.xml file used for? And its configurations?
  • Entity definitions. What are the Logic and Physical annotations?
  • Id Generation: Definition, using Identity or Sequence
    • Identity
    • Sequence
  • Id Generation: TableGenerator and Auto
    • TableGenerator
    • Auto
  • Simple Composite Key
    • @IdClass
    • @Embeddable
  • Complex Composite Key
  • How to get an EntityManager
  • Mapping two or more tables in one entity
  • Mapping Hierarchy: MappedSuperclass
  • Mapping Hierarchy: Single Table
  • Mapping Hierarchy: Joined
  • Mapping Hierarchy: Table per Concrete Class
  • Pros/Cons of each hierarchy mapping approach
  • Embedded Objects
  • ElementCollection – how to map a list of values into a class
  • OneToOne unidirectional and bidirectional
    • Unidirectional
    • Bidirectional
  • There is no such “auto relationship”
  • OneToMany/ManyToOne unidirectional and bidirectional
  • There is no such “auto relationship”
  • ManyToMany unidirectional and bidirectional
  • There is no such “auto relationship”
  • ManyToMany with extra fields
  • How the Cascade functionality works? How should a developer use the OrphanRemoval? Handling the org.hibernate.TransientObjectException
    • OrphanRemoval
  • How to delete an entity with relationships. Clarify which relationships are raising the exception
  • Creating one EntityManagerFactory by application
  • Understanding how the Lazy/Eager option works
  • Handling the “cannot simultaneously fetch multiple bags” error

Download 0,72 Mb.

Do'stlaringiz bilan baham:
1   ...   22   23   24   25   26   27   28   29   30




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish