References to JDBC

http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DriverManager.html
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Driver.html


SetUp has already made a connection to the database. Let's start from scratch
Default Connection
disconnect()
true

DefaultConnection has 6 fields and 5 methods
Comment
user password database urlPrefix urlSuffix driver connect() disconnect() isConnected() commit() selectUser()
String String String String String String boolean boolean boolean boolean String



DriverManager.getConnection (urlPrefix + database + urlSuffix, user, password);

Default Connection
driver urlPrefix database urlSuffix
oracle.jdbc.OracleDriver jdbc:oracle:oci:@ ORADESK blank

Default Connection
user password connect()
SCOTT TIGER true

Default Connection
selectUser?
SCOTT

Default Connection
isConnected()
true