Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Without using of Class.forName(? ?), how do you connect to
db?

Answers were Sorted based on User's Feedback



Without using of Class.forName(? ?), how do you connect to db?..

Answer / niranjanravi

through DriverManager.RegisterDriver

Is This Answer Correct ?    10 Yes 1 No

Without using of Class.forName(? ?), how do you connect to db?..

Answer / kalyan

by using datasource object, generally datasource is
confiured at app server specifying jndi name , data source
name, driver name, user name, and password.

by getting datasource object using jndi lookup, we can get
connection.

Is This Answer Correct ?    3 Yes 1 No

Without using of Class.forName(? ?), how do you connect to db?..

Answer / parida

To Niranjanravi
can u give me an example of that?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

How many jdbc driver types are there?

0 Answers  


What are four types of JDBC driver?

0 Answers  


explain about special characters?

0 Answers  


How is jndi useful for Database connection?

1 Answers  


Does jdbc use odbc?

0 Answers  


What is jdbc and jpa?

0 Answers  


How can I create a custom RowSetMetaData object from scratch?

0 Answers  


how do we get the connection from connection pool

1 Answers  


What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?

0 Answers  


What port does jdbc use?

0 Answers  


Differentiate between type_scroll_insensitive and type_scroll_sensitive.

0 Answers  


Discuss the significances of jdbc.

0 Answers  


Categories