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
Describe how the jdbc application works.
What is the purpose of jdbc?
What is database deadlock ? How can we avoid them?
How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?
How can we disable a constraint ?
What is java soft framework?
What is connection data?
In which ways is driver class is registered with drive manager?
Which type of driver provides jdbc access via one or more odbc drivers?
Which is faster jdbc or odbc?
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?
What is jdbc servlet?
Why do we need jdbc?
Does jpa use jdbc?
What is execute in java?