how can we get the metaData (columnNames) from a table which
has no Records..
Answer Posted / sreenivas
Hi,
You can use DatabasrMetaData class to get the databse
information like... schenmaname, tables, columnnames,
etc....
DatabaseMetaData metaData = new DBConnection().getMetaData
();
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Which is best database for java?
How to connect html page to database using jdbc?
What is metadata in java programming?
What is jdbc explain?
What is connection data?
How can we store the file in the oracle database?
What is jdbc and why is it required?
What is new in JDBC 2.0?
What is the query used to display all tables names in SQL Server (Query analyzer)?
What is the use of getGeneratedKeys() method in Statement?
What is xe in oracle jdbc url?
Explain the locking system in jdbc?
What does connection pooling mean ?
What is serialization and deserialization in java programming?
What are the considerations for deciding on transaction boundaries?