Answer Posted / p.kodanda rami reddy
After loading the driver in order to refer the what kind of
database u communicate we Establish the connection with the
help of a static method called GETCONNECTION this is from
DRIVER MAMAGER.GETCONNECTION. accepting arguments as JDBC
URL ,USER NAME , PASSWORD
EX: DriverManager.getConnection
("jdbc:odbc:sid","scott","tiger");
here jdbc,odbc,sid -> is url and sid is service id.
scott - > is user name.
tiger - > is password.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the JDBC syntax for using a literal or variable in a standard Statement?
How can I connect mysql or oracle with java?
Which is best database for java?
What is represented by the connection object?
How can you make a connection?
What is the full form of jdbc and what is its purpose?
Explain Basic Steps in Writing a Java Program Using Jdbc?
What is the purpose of the jdbc resultset interface?
Discuss the significances of jdbc.
What is a statement?
What is jsp and jdbc?
What causes no suitable driver error?
What is CLOB and BLOB datatypes in JDBC?
What is jdbc driver for sql server?
Describe odbc?