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
How a database driver can be loaded with jdbc 4.0 / java 6?
Why are we using blob datatypes in jdbc?
Why should we close database connections in java?
How many types of resultset are there in jdbc?
What do you mean by database connection pooling?
What does the jdbc databasemetadata interface?
Which is best database for java?
What are the types of statements in jdbc?
What is jdbc vs odbc?
What are the different types of lockings in jdbc?
What is jdbc and why is it required?
What is resultsetmetadata?
If you are truncated using JDBC, how can you that how much data is truncated?
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?
How can we move the cursor in a scrollable result set?