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 are the 4 types of jdbc drivers?

0 Answers  


What is setautocommit in jdbc?

0 Answers  


What is Type-2 Driver and when this driver is used?

2 Answers  


What is jdbc? Describe the steps needed to execute a sql query using jdbc.

0 Answers  


How many isolation levels are supported in JDBC and what are they?

1 Answers  






What are the steps required to execute a query in jdbc?

0 Answers  


How to find total column from a resultset?

6 Answers   TSYS,


How can I determine where a given table is referenced via foreign keys?

0 Answers  


Is jdbc a web technology?

0 Answers  


What is jdbc drivers in java?

0 Answers  


What is database deadlock ? How can we avoid them?

0 Answers  


What are the functions of the jdbc connection interface?

0 Answers  


Categories