Creating a simple JDBC application for PostgreSQL using ...

hundredhonkΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 4 χρόνια και 10 μήνες)

265 εμφανίσεις

!
"
"
Creating a s
imple JDBC

a
p
plication for
PostgreSQL

using

NetBeans


!#

$
%&'"(&)*&+',"-./#
"
0#

1
234"
!"#$%
&
'%($)%*+,-$./%%
&
'%0$1$+2#%
&
'%3242%566#".2/",1
"
56789:"(&;)<
"
=#

$'")>&"?3773@8'A"?324B"C3D"9+'"
&')&2"
)>&
"
E&,82&E"'+4&"?32"C3D2"+%%789+)83'
"
D'E&2"
F
G23H&9)"(+4&
I
#"
*C"E&?+D7)")
>8,"'+4&"8,"FJ+K+L%%789+)83'!
I"32
"
,8487+2
#"
"
M+:&",D2&"?32")>8,")D)328+7"C3D2"+%%789+)83'"'+4&"8,"&;+9)7C"+,",>3@
'
"
8'"18AD2&"!"
@>89>"8,"
3789.#"$1/
#"5
(,/$:
"
'+48'A"8'"J+K+
"
8,"9+,&",&',8)8K&
N<
"
O#

M+:&"PD2&"Q3D2"P92&&'"R33:,"78:&"18A
D2&
"
!#"
S
>&'"9789:"18'8,>")3",)+2)"C3D2"G
23H&9)#
"
"
18AD2&"!
"
"

0
"
"
T#

132"+'"&+,C",)+2)
B
"
@&"@877">+K&"HD,)"3'&"
.#2;;
"
8'")>8,"+%%789+)83'#
"
S>8,"
97+,,"8,"
3789.#"$1/
<-242
"
@>89>
"
8,")>&",)+2)8'A"%38')"3?")>&"+%%789+)83'
#
"
(&)*&+',"
@
877"
+D)34+)89+77C"?877"C3D2"97+,,"@8)>"+"E&?+D7)"
/$=6#2/$<%
5R33:"+)"
)>&"
)3%"28A>)"
?2+4&"
3?")>&"(&)*&+',"@8'E3@
"
8'"18AD2&"0
<"
"
"
"
"
18AD2&"0
"
"
"
U#

-'"18AD2&"0B"C3D"
,&&"
)>+)"(&)*&+',">+,"
4D7)8%7&"
,DV
W
@8'E3@
,
#"S>&"7+2A&,)"+2&+"8'"
)>&"
)3%"28A>)"8,
"
)>&
"
93E&"@8'E3@
"
@>
&2&"
C
3D"
9+'"+EE"+'E"&E8)"
C3D2"
%23A2+4"
93E&
#"
"
-'")>&"V&A8''8'A"C3D"@877",&&"+'"+D)3"A&'&2+)&E")&4%7+)&"?32"C3D2"97+,,">&2&#"S>&2&"
8,"+"
>?7?
"
%+2)")>+)"
8'E89+)&,")>&"+2&+"@>&2&
"
C3D"
9+'",)+2)"+EE8'A"C3D2"93E&
"
5
@&"@877"
934&")3")>8,"+"V8)"7+)&2
"
8'")>8,")D)328+7
<
"
X#

-'"
)>&"
)3%"7&?)"
,DV
W
@8'E3@"8'"1
8AD2&"0B"C3D",&&"+"2&E"98297&"+23D'E"
@"A+2+"$;
#"*&?32&"
@&"+EE"+'C"93E&")3")>8,"%23H&9)"@&"'&&E")3"8',)+77")>&"J.*6"E28K&2"?32"G3,)A2&,PYR"
?32")>
8,"+%%789+)83'#"S>8,"78V2+2C"@877"&'+V7&"D,")3"9344D'89+)&"@8)>"
3D2"E
+)+V+,&"
,
&2K&2#
"
Z#

L,",>3@'"-'"18AD2&"=B"+?)&2"
$B621C"1D%/E$%@"A+2+"$;
"
8)&4B"
+"DE/%.#".F
%
3'")>&"R8V2+28&,"
+'E",&7&9)"FLEE"R8V2+2C[I"
"
=
"
"
"
18AD2&"=
"
"
\#

L,",>3@'"8'"18AD2&"OB"?234")>&"+K+87+V7&"78V2+28
&,",&7&9)"
*,;/D+$;GH@%3789%7+"4$+
"
+'E"+EE"
)>8,
"
78V2+2C")3"C3D2"+%%789+)83'#
"
(3@"C3D2"
-./
"
4D,)"733:"78:&"1
8AD2&"T#
"
"
"
18AD2&"O
"
"
O
"
"
"
18AD2&"T
"
!]#

(3@B"
E3@'73+E")>&"
,3D29&"93E&"?32")>8,")D)328+7
"
?234"
3D2
"
I(J>
%
K$A;"/$
B
#
"
5!<

67&+2")>&"
93E&"@8'E3@"5)3%"28A>)<
"
?234")>&"+
D)3
W
A&
'&2+)&E")&4%7+)&#
"
50<

63%C"+'E"%+,)&")>&"%23K8E&E"93E&"8')3")>&"
93E&"@8'E3@
#"
"
5=<

/E8)")>&"^,&2'+4&"_"G+,,@32E"K+28+V7&,"+9932E8'A")3"C3D2",&))8'A,#"132"
&;+4%7&B"^,&2'+4&"8,"C3D2"^'8:&C"+'E"G+,,@32E"5E&?+D7)<"8,"C3D2"P-.#
"
!!#

(3@B"Q3D"9+'"2D'")>&"93E&"?234"
`D'"M&'D"
!
"
`D'"M+8'"G23H&9)
"
"
>+,LA#$;
E,,/"1D:%
%
!#

M+:&",D2&"C3D2"97+,,"'+4&,"+2&"9322&9)"+'E")>&",+4&"+,"'+4&,"8'")>8,")D)328+7#"
`&4&4V&2a"
J+K+"8,"9+,&",&',8)8K&
#
"
0#

M+:&",D2&"C3D",&)"C3D2"D,&2_%+,,"9322&9)7C#
"
=#

M+:&",D2
&"C3D2"E+)+V+,&"K+28+V7&">+,"V&&'",&)"
9322&9)
7C
"
5)>&"2
33)"3?"43,)"3?"%23V7&4,<
"
O#

M+:&",D2&"C3D"
>+K&"
+EE&E")>&"
G3,)A2&,"J.*6
"
E28K&2"9322&9)7C"8'"C3D
2
"
%23H&9)"+,"
8',)2D9)&E#"
"
T#

`&+E"+'C"&2232"4&,,+A&,"+'E")2C")3"
+9)D+77C"D'E&2,)+'E
"
)>&"9+D,&"3?")>&"&2232,#
"
U#

L,:"
C3D2"?28&'E7C")D)32"
"
"
"
"