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 4573

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

Cognizant,

2 7020

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 8431

why are using type4 driver in realtime projects?

4 8199

how we can remove hard code in java?

Satyam,

1 7997

is java pure object oriented or not ?

7 8884

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

1 4623

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 4717

Explain Basic Steps in Writing a Java Program Using Jdbc?

Winsol Solutions,

748

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

UGC Corporation,

743

Write a program JDBCcode forfetching student database with SQL.

743

Explain about DSN?

Infosys,

696

What is the most common example type 1 driver?

Tech Mahindra,

743

How to rollback a JDBC transaction?

734

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

681


Post New JDBC Questions

Un-Answered Questions { JDBC }

Why we use while rs next ())?

670


How do java applications access the database using jdbc?

690


What are jdbc and its components?

730


What is connection commit?

648


What are database warnings in jdbc and how can we handle database warnings in jdbc?

779






How can you make the connection using jdbc?

725


What protocol does jdbc use?

681


What are the advantages of using preparedstatement over statement?

718


Define preparedstatement.

697


How to use JDBC to connect Microsoft Access?

763


What do you mean by database connection pooling?

657


What is jdbc and its advantages?

665


Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

674


How do I load a database driver with JDBC 4.0 / Java 6?

709


What is jdbc odbc bridge in java?

712