What is the syntax of URL to get connection?



What is the syntax of URL to get connection?..

Answer / devarathnam c,kotagudibanda(po

Hi...
Connection con=DriverManager.getConnection
("jdbc:odbc:datasource name","scott","tiger");
(To connect oracle database)

Is This Answer Correct ?    9 Yes 1 No

Post New Answer

More JDBC Interview Questions

java based application for hospital management

0 Answers  


Can I get a null resultset?

0 Answers  


How can I instantiate and load a new CachedRowSet object from a non-JDBC source?

0 Answers  


What happens if we don't close the connection in jdbc?

0 Answers  


Difference between Generic Servlet and HTTP Servlet?

13 Answers  


What are the different types of statements? How we can you use preparedstatement.

0 Answers  


Which type of JDBC driver is the fastest one?

0 Answers  


Is there any limitation for no of statments executed with in batchupdate?

2 Answers   HSBC, IBM,


What is db client?

0 Answers  


Why do we need jdbc driver?

0 Answers  


What are types of jdbc drivers?

0 Answers  


which scenarios we go for jdbc,and which scenario we go for connection polling and wat r advantages and disadvantages using connection pooling.

2 Answers   TCS,


Categories