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

Answers were Sorted based on User's Feedback



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

Answer / sitaram

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

Is This Answer Correct ?    7 Yes 2 No

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

Answer / kanu butani

Use Hibernate framework to connect to the database without
using getConnection method.
Hibernate Performing the usual DB operations

Is This Answer Correct ?    8 Yes 5 No

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

Answer / john

i suggest shine Enterprise farmework
use the jconnection package
it contains something like hibernate
and i removed the .xml files
enjoy it
http://sourceforge.net/projects/shine-enterpris/files/

Is This Answer Correct ?    0 Yes 0 No

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

Answer / naveen

it is not possible to get the connection from db server
without using getConnection();method, because
getConnection()method will take 3 paramaeters like
url,username,pwd......without this a javapgm will not
connect to db server. and getConnection method returns
connectionobject ..........

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JDBC Interview Questions

What is jdbc and odbc?

0 Answers  


How do we call a stored procedure from jdbc?

0 Answers  


What is jdbc and odbc in java?

0 Answers  


Where is mysql jdbc driver located?

0 Answers  


What are the different types of 2 tier and 3 tier architecture ?

2 Answers   Honeywell,






What is the function of drivermanager class?

0 Answers  


What is the use of setFetchSize() and setMaxRows() methods in Statement?

0 Answers  


What is jdbc template?

0 Answers  


Why would you use setautocommit(false) in jdbc?

0 Answers  


What are cursor attributes?

3 Answers  


how you will execute the many tables data

1 Answers   Wipro,


Is not bound in this context unable to find jdbc spring boot?

0 Answers  


Categories