| Chapter 18: JDBC and Database Connection Pooling |
|---|
| Source Code in This Chapter |
|---|
|
|---|
| Order now |
fruits table.
fruits in either
an Oracle or a Sybase database.
ResultSet in several ways:
ResultSet doesn’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).
toHTMLTable method that turns
the results into a long string corresponding to
an HTML table.
employees table
as plain text.
employees table
as an HTML table.
employees table.
JTable.
Uses the following helper classes:
JTable how to extract
relevant data from a DBResults object (which is
used to store the results from a database query).
Frame
or JFrame of your application, so quitting the
frame exits the application.
| URLs in This Chapter |
|---|
| General |
|---|
|
|