Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 13. JDBC > ResultSetMetaData

ResultSetMetaData

ResultSetMetaData provides information about the types and properties of the columns of a ResultSet. For example, information can be obtained on the number of columns in a ResultSet, as well as the column types and names. Other information is provided by ResultSetMetaData, which you can learn more about by consulting the JDK API Specification.

Listing 13.3 displays an example of creating and using a ResultSetMetaData object.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial