How to find total column from a resultset?

Answer Posted / shankar

int columnCnt = java.sql.ResultSetMetaData.getColumnCount();

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different types of locks in jdbc?

701


Is jdbc faster than hibernate?

762


Is jdbc object oriented?

694


What are the different types of classes in the api component?

731


What is a jdbc connection string?

646


How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

780


How to set NULL values in JDBC PreparedStatement?

734


Explain some new features available in jdbc 4.0?

782


Which interface is responsible for transaction management in jdbc?

642


What is ojvm used for?

744


What does connection pooling mean ?

757


How can I write to the log used by DriverManager and JDBC drivers?

745


Explain the necessary steps to connect to the database in java?

785


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

699


Which jdbc driver type s is are the jdbc odbc bridge?

651