What is the syntax of URL to get connection?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a datasource in java?

496


How to check jdbc driver version in websphere?

541


What is type 4 jdbc driver?

477


Why jdbc is used in java?

475


What is dburl?

571






What is a merge field?

491


What is JDBC Batch Processing and what are it’s benefits?

507


How can we set null value in jdbc preparedstatement?

519


What are the types of jdbc drivers that exist?

532


Under what circumstances, that all four drivers are used?

1896


What is the advantage of namedparameterjdbctemplate?

503


Does jdbc use odbc?

501


Why do we use jdbc?

509


What are the standard isolation levels defined by JDBC?

567


What is an advantage of using the jdbc connection pool?

445