Can we use the one instance of Statment to execute more
than one query ?

Answer Posted / sathya


Yes,its possible to use the same instance provided the
Result Set of the first Statement is fetchd out.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of JDBC Drivers?

732


Which database is used for java?

740


How do I insert an image file (or other raw data) into a database?

740


What is jdbc connection interface?

736


What are the packages are used in jdbc?

799


Does jdbctemplate close connection?

689


Differentiate between stored procedure and functions?

830


Is odbc an api?

756


What is executeupdate in java?

680


How can we maintain the integrity of a database by using jdbc?

758


What is the use of dialect?

759


How can you retrieve data from the resultset using jdbc?

760


What is thin driver in jdbc?

747


Explain about the Try Block?

761


What types of DataSource objects are specified in the Optional Package?

779