Java Database Connectivity Question:

Download Job Interview Questions and Answers PDF

What is Metadata and why should I use it?

Java Database Interview Question
Java Database Interview Question

Answer:

Metadata (’data about data’) is information about one of two things: Database information (java.sql.DatabaseMetaData), or Information about a specific ResultSet (java.sql.ResultSetMetaData). Use DatabaseMetaData to find information about your database, such as its capabilities and structure. Use ResultSetMetaData to find information about the results of an SQL query, such as size and types of columns

Download Java Database Interview Questions And Answers PDF

Previous QuestionNext Question
What is the advantage of using PreparedStatement?What are different types of Transaction Isolation Levels?