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
What are the common jdbc exceptions?
What is JDBC Batch Processing and what are it’s benefits?
What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?
What is a java driver?
Explain the difference between resultset and rowset in jdbc
How can I write to the log used by DriverManager and JDBC drivers?
What is jsp and jdbc?
How do I disallow NULL values in a table?
What is difference between jdbc and odbc?
Explain the difference between inner and outer join ?
Discuss the procedure of retrieving warnings?
Is jdbctemplate thread safe?
List the advantages of using datasource?
Which database is used for java?
How do I connect to jdbc?