You are on page 1of 5

Oalabose ConnecffioD

Ap-T T n*eyface'
of pre-defîned clagse3, a
profocols 4100-1 deuelopers 40 cor)hec4 -INC)dî5ereo-Ç

neve)opers COb age -fil rd IPC Or


outl . expose or
4QhC+tOnaLì-Hes,
9etv '{o deuebpers 1rHe9raf100 fr)Ho -)beîr

ODBC OaH(1 Base Co Dh ec-hv}49

JDBC is pro U{ded java, allows CO-)nec+


açplïca4too reta+tonol da4ab ase. ZjÈvelopers CQ)
exrecuâe SAL re4rüve test] (ts) ond vortous
OPerdtons Irv a glandordne d

ê rfiver Manage
mooogeS Abc operopriaàe d rfivers.
Î%uited do e 91abÉsR connec+fon(o database

Orleers
TOUQ q pelïcaftoog 40 commuo\cafe Wfi{h
Aahabage
There Ote Jour rlgpes 03 TavQ
Bridge
2. [Pardig TQ\JŒ
3. Ned c(clvet
4 Pure
g C0hbec4to
ho r)he
— repçeSeocY- (x
esgoblfshlng a 100

940de on Ibe 08.


-sased execwte SQL auerîes
allows goa do perform Crecfle ), (pead ,
operaflons
e QesuRSet
tepregendg dbe resul•t 09 a dQ+abage OQery.
and access Hhe dada reyarned
by {be eyecueted SGC Que
Çollow\ng Pte shows how) q ce T06C HO
necd Ho a 0 g, e Fecude 40 a' fe+riue Oada.
%mpote Jq va. Sq L.

clacs

Èubltc 91a&tc Void Marn C9frtng args[û) C

S4rìng dbPatR ctjdbc :mysql: // local hos+/dge2)2$'

// a conbecfton dahbaçe
Connechon OriverManag&. OedC0hoecffon
Cdb?atb

// Creqle Q 910$evnen4
g4ndetneryt

'frfnq %ueryol CIO Inger+ î MO Slqdeny Values


( 1001)
.exeeu4e0pdde(query 01 )
con.Cbge C

CQ{cb CCmcep4-/one)

9gs4eYb.err- C o ficepfio D: ' W9etme;Sacz

3
3

20b C provides a sed classes & tn4eråaces '(O


dQ+o baqe.

java. 9%1.cohhccMon
eWabligA a connection40 dalab0%)
and mon age

2. MOhQger
e
provtdes mefbodc do regisderfng a managtoq
driv('$.

g• 3TJC.1 gafcmet)+

teprescn46 Cdatemenfs dhQ\ Is gen+ do


dcdobase

teprescrHs dhe of Q da)abase ORBY .

Prepared
, Which
a Precompiled e
gour q PPI
In
use pacEaoev
need used
dah bqse;
which
&
ConnecffoD, é)viver MG P aget,
Such as
Pte pated gale toe
owS you exrecu{e (DQrameder
i2cd
P tepatåg'alemcn+ eptends dhe
queries with effc
JO gc
an d is QD esse nc tol pand-
relahonQI da(ahaseg. iS Very

s everal Yeagons,
D Geco.feÅ
Ollas gou precompac CQL quertes bebore
ThlS e sep performance of tepeated
Oruery execudions

2) Poromé4erhed Auerres
Vou caw de/ioe p (Qceholders SQL auer!
and (hen efer N (Xi ruht (me.
3) %Jicien+ (2esource t)41ti zad!on
Hhe overhead of rlhe S
tepea&Cygmce Objecfs o/ fh/'
are precompiled ble.
14) Code PeadabJyt1g
MQ10tqtnabiIlly
gy SQL tuetfes
0e
cleaney.
SA d en

value C ? ?

Pt-eparea Sla&emenÇ Cob. ()repared J)

Sed-Trrt 1001
Se/ Setring , t M'gan kha
est . C ))

You might also like