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 |
Without using of Class.forName(? ?), how do you connect to db?
What is jdbc servlet?
What does the jdbc connection interface?
What is database deadlock ? How can we avoid them?
What are the advantages of using preparedstatement in java?
why are using type4 driver in realtime projects?
Why should we close database connections in java?
Can resultset be null in java?
Can we use the one instance of Statment to execute more than one query ?
How many ways that we can view a result set?
How can I get information about foreign keys used in a table?
Which database is used for java?