|Chapter 18: JDBC and Database Connection Pooling|
|Source Code in This Chapter|
fruitsin either an Oracle or a Sybase database.
ResultSetin several ways:
ResultSetdoesn’t necessarily have all the data; reconnection to database occurs as you ask for later rows.
DatabaseMetaData(database product name and version) and
ResultSetMetaData(the column names).
toHTMLTablemethod that turns the results into a long string corresponding to an HTML table.
employeestable as plain text.
employeestable as an HTML table.
JTable. Uses the following helper classes:
JTablehow to extract relevant data from a
DBResultsobject (which is used to store the results from a database query).
JFrameof your application, so quitting the frame exits the application.
|URLs in This Chapter|