Basic HTML version of Foils prepared May 19 99
Foil 17 A typical JDBC API usage sequence
From Overview of JDBC: Java Database Connectivity Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Nancy McCracken,(Sangetta Aggarwal, Meryem Ispirli, Udayan Parvate, Tom Pulikal, Chao-Wei Ou)
1 |
DriverManager
|
2 |
getConnection()
|
3 |
method returns a
|
4 |
Connection Object
|
5 |
Connection
|
6 |
Statement
|
7 |
ResultSet
|
8 |
Column values
|
9 |
from Query results
|
10 |
method returns a
|
11 |
Statement object
|
12 |
createStatement()
|
13 |
executeQuery()
|
14 |
next()
|
15 |
method returns a
|
16 |
ResultSet Object
|
17 |
method gets the
|
18 |
next row
|
© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.
Page produced by wwwfoil on Mon Jul 5 1999