how can we get the metaData (columnNames) from a table which
has no Records..

Answer Posted / srinivas

we get it from ResultSetMetaData

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is odbc jdbc?

535


If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?

578


Explain creation of statement object with connection method create method with help of an example.

519


Explain the various types of locking system in jdbc?

495


How to set NULL values in JDBC PreparedStatement?

539






Explain about column name and getter method?

595


Which database is used for java?

526


What is drivermanager in java?

489


Give an example for getXXX method?

555


How can I get or redirect the log used by DriverManager and JDBC drivers?

516


How many ways that we can view a result set?

535


How can you create jdbc statements?

530


If I use the JDBC API, do I have to use ODBC underneath?

602


What is database connection pooling? Advantages of using a connection pool?

537


What are the considerations for deciding on transaction boundaries?

558