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 are the utilities of the callablestatement?
What causes the "No suitable driver" error?
Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?
What is a statement in java?
What is the purpose of the jdbc resultset interface?
What is jdbc explain?
What are the different classes through which JDBC represents statements?
What is the full form of jdbc and what is its purpose?
What is jdbc driver manager?
What is a java driver?
What does adapter class provide?
Why do we need a jdbcrowset like wrapper around resultset?
Is there another way of dealing with the result set that could execute faster?
Explain how to make updates to the updatable resultsets.
What is the use of statement in jdbc?