JDBC Interview Questions
Questions Answers Views Company eMail

why we don't use the type 2 driver for connect to the database in jdbc?

TCS,

1 4327

What is Connection Pooling ??? How we set up a particular connection within connection pooling ????

Cognizant,

2 6686

i am user who logined the application..after that another valid user will also logind..so that is it neccessary to create jdbc connection for each and every user...plz explain it with proper answer...plz help me

IBM,

5 7648

why are using type4 driver in realtime projects?

4 7750

how we can remove hard code in java?

Satyam,

1 7758

is java pure object oriented or not ?

7 8263

what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();

1 4341

MY code is: public class P1{ public static void main(String ar[]) { class.forName("java.lang.String"); } } errors i got are :New.java:5: error: expected class.forName("java.lang.String"); ^ New.java:5: error: invalid method declaration; return type required class.forName("java.lang.String"); ^ New.java:5: error: illegal start of type class.forName("java.lang.String"); ^ New.java:7: error: reached end of file while parsing } ^ 4 errors HELP ME>......

3 4355

Explain Basic Steps in Writing a Java Program Using Jdbc?

Winsol Solutions,

602

What are the main steps in java to make JDBC connectivity?

UGC Corporation,

577

Write a program JDBCcode forfetching student database with SQL.

584

Explain about DSN?

Infosys,

541

What is the most common example type 1 driver?

Tech Mahindra,

598

How to rollback a JDBC transaction?

572

How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

534


Post New JDBC Questions

Un-Answered Questions { JDBC }

please tell me the name and url path for type-4 driver ?

2483


Name the method, which is used to prepare a callablestatement.

510


What is connection commit?

503


What is jdbc architecture?

522


What is the use of dialect?

570






Why do we need jdbc?

585


Explain about the Try Block?

562


Does sql allow null values ?

553


What is jdbc and explain jdbc architecture?

524


Where is mysql jdbc driver located?

526


What does jdbc setmaxrows method do?

519


How many types of jdbc drivers are available?

498


Jdbc-odbc bridge is multi-threaded or not?

537


Explain the JDBC Architecture?

570


What is the use of jdbc api?

511