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 jdbc url for mysql?
How vendor Naming registry supports JNDI?
Where jdbc drivermanager class is used?
What are clob and blob data types in jdbc?
What is a merge field?
Is jdbc part of j2ee?
How can I create a custom RowSetMetaData object from scratch?
What are the classes and methods used for sending sql statements to database?
Does jdbctemplate close connection?
Why we use jdbc instead of odbc?
What is database connection pooling? Advantages of using a connection pool?
What are the methods which can verify the cursor particular position?
What is serialization and deserialization in java programming?
What are the common tasks of JDBC?
What does the jdbc connection interface?