how can we get the metaData (columnNames) from a table which
has no Records..
Answers were Sorted based on User's Feedback
Answer / 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 |
Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?
How many types of statements are there in jdbc?
What are the different types of interfaces in the api component?
Difference between Dirty, commited ,phantom,repeatable reads?
How can you load the drivers?
What is jdbc and its advantages?
What are the jdbc statements?
How can I retrieve a String or other object type without creating a new object each time?
What are the advantages of collection pools?
What is jdbc connection interface?
What is a jdbc driver and how many jdbc drivers are available?
What is the difference between client and server database cursors?