The best place to start in understanding an API is with a minimal implementation example. The following code demonstrates just such an implementation using only four JDBC classes as listed in Table 5-4.
|DriverManager||Loads the JDBC driver and manages the database connection. Controls access to the database driver.|
|Connection||Connects to the database and allows the creation of Statement objects.|
|Statement||Allows the execution of SQL statements and returns results, either integer values for the number of rows updated or ResultSet objects representing the rows returned by the execution of a SQL select statement.|
|ResultSet||Allows access to individual rows in the set of rows returned by a SQL ...|