MySQL- thirteenth chapter analyzes the result set using ResultSetMetaData

1, Result which contains the getMetaData a () method that returns the ResultSet ResultSetMetaData object corresponds.

2, ResultSetMetaData method comprising:

  1 "int getColumnCount (): returns the number of columns in the ResultSet.

  2 "String getColumnName (int column): Returns the column name specified index.

  3 "int getColumnType (int column): Returns the index's column types.

RowSet 3, Java 7's

   RowSet interface extends the ResultSet interface.

Guess you like

Origin www.cnblogs.com/ZeroMZ/p/11372668.html