Java persistence api (jpa)


@ManyToMany Relation ........................................................................................................................ 96



Download 0,85 Mb.
Pdf ko'rish
bet6/13
Sana04.11.2022
Hajmi0,85 Mb.
#860093
1   2   3   4   5   6   7   8   9   ...   13
Bog'liq
jpa tutorial

@ManyToMany Relation ........................................................................................................................ 96
9.
JPA – CRITERIA API ............................................................................................................ 106
History of Criteria.................................................................................................................................. 106
Criteria Query Structure ........................................................................................................................ 106
Example of Criteria API ......................................................................................................................... 107


JAVA PERSISTENCE API (JPA)

Any enterprise application performs database operations by storing and retrieving vast 
amounts of data. Despite all the available technologies for storage management, application 
developers normally struggle to perform database operations efficiently. 
Generally, Java developers use lots of code, or use the proprietary framework to interact with 
the database, whereas using JPA, the burden of interacting with the database reduces 
significantly. It forms a bridge between object models (Java program) and relational models 
(database program). 
Mismatch between Relational and Object Models 
Relational objects are represented in a tabular format, while object models are represented 
in an interconnected graph of object format. While storing and retrieving an object model 
from a relational database, some mismatch occurs due to the following reasons:

Granularity
: Object model has more granularity than relational model. 

Subtypes
: Subtypes (means inheritance) are not supported by all types of relational 
databases. 


Download 0,85 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   13




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©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