In which case i can use ResultSetMetaData and DatabaseMetaData?

Showing Answers 1 - 4 of 4 Answers

MOhan

  • Jan 4th, 2006
 

When we need to know the details of the database Server

  Was this answer useful?  Yes

Deepa

  • Jan 12th, 2006
 

ResultsetMetaData returns you the types and the properties of the columns in the Resultset object whereas DatabaseMetaData returns the information about the database as a whole.

ashok

  • Mar 21st, 2006
 

If u want to make ur application as idenpendent of the database tables,then

u can dynamically retreive the information about the database using the DatabaseMetaData and can retrieve information about the tables in the database using the ResultSetMetaData 

  Was this answer useful?  Yes

Gandharv

  • May 1st, 2006
 

ResultSetMetaData interface is used to find out the types and properties of the column in the ResultSet whereas DatabaseMetaData interface provides comprehensive information about the database as a whole.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions