how can we connect to db without using getConnection()
method

Answer Posted / sitaram

without getConnection(), we can't connect the DB.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to set NULL values in JDBC PreparedStatement?

621


How the JDBC application works?

611


How can I get information about foreign keys used in a table?

621


What is a connection string used for?

577


What is the meaning of batch updates?

660






How many ways that we can view a result set?

637


When do we get java.sql.SQLException: No suitable driver found?

625


Does JDBC support stored procedures?

631


What is JDBC RowSet? What are different types of RowSet?

643


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

547


What are the advantages of using preparedstatement over statement?

631


How to check jdbc driver version in websphere?

638


What is odbc and jdbc drivers?

548


What are the differences between stored procedure and functions?

555


Describe odbc?

621