what is metadata and it's use?
Answers were Sorted based on User's Feedback
Answer / anand
Meta data nothing but data about date.
For example,
22 - marks
Raju - name
96 - age
Hyd - address
In the above example we can say that marks,name,age and address called Meta data, because that data gives detail information about actual data.
<marks>22</marks>
<name>Raju</name>
<age>96</age>
<address>Hyd</address>
Tn the above one we can say that the tags like <marks>,<name>,<age>,<address> are called meta tags, because that tags gives details information about actual data.
In java we have two types of metadata.
i) ResultSetMetaData
ii) DatabaseMetaData
ResultSetMetaData is used to know the details of ResultSet object like no.of columns,names of the columns and datatypes of the column etc.
DatabaseMetaData is used to know the information about database server like version of the database server,name of the database server etc.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sowmya
metadata is nothing but data about data.
This data includes column-type,constraint-type etc.
It describes the whole structure of table data
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / harish
u can access information abt the database as a whole or abt
a particular query ResultSet.This section describes how
DatabaseMetaData and ResultSetMetaData objects are obtained
and queried.
| Is This Answer Correct ? | 0 Yes | 0 No |
what happen if we set JDBC string to NULL?
Which is best database for java?
What is executequery in java?
JDBC Drivers properties?
What is resultset in jdbc with example?
Is it possible to connect to multiple databases simultaneously?
What is JDBC API and when do we use it?
how to retrieve sql exceptions
Explain the various types of locking system in jdbc?
How to set NULL values in JDBC PreparedStatement?
What are the differences between resultset and rowset?
How do we call a stored procedure from jdbc?