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 4622

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

Cognizant,

2 7110

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 8575

why are using type4 driver in realtime projects?

4 8327

how we can remove hard code in java?

Satyam,

1 8073

is java pure object oriented or not ?

7 9051

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

1 4672

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 4797

Explain Basic Steps in Writing a Java Program Using Jdbc?

Winsol Solutions,

792

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

UGC Corporation,

786

Write a program JDBCcode forfetching student database with SQL.

781

Explain about DSN?

Infosys,

732

What is the most common example type 1 driver?

Tech Mahindra,

779

How to rollback a JDBC transaction?

764

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

722


Post New JDBC Questions

Un-Answered Questions { JDBC }

What are four types of JDBC driver?

792


What class.forname does, while loading the drivers?

702


java based application for hospital management

3616


Explain the difference between inner and outer join ?

704


What do you mean by metadata and why we are using it?

755


Is jdbc database independent?

695


What is the meaning of connection?

738


Why we use jdbc instead of odbc?

709


How to insert an image or raw data into database?

738


What is jndi lookup?

715


What are the ddl statements?

652


What are the steps involved in establishing a connection using jdbc in java?

720


What is preparedstatement in jdbc?

695


What are dml and ddl?

718


What is jdbc and jpa?

695