Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

JDBC Interview Questions
Questions Answers Views Company eMail

write a query to select name from one table which has id,name and salary from another table which has id, sal where the salary is the second maximum

Bosch, HireCraft, Infosys,

3 6630

Is JDBC a language or Application?

3 4002

how can we get the metaData (columnNames) from a table which has no Records..

2 2468

While in CallableStatament using in the oracle my procedure is return no.of columns so in java how can i retrivbe the data and i wnat to view all data which is reetrive from my procedure

ADP,

1277

all Java qts are imp ?

eBay,

1 2795

Hi friends, In JDBC 4 drivers are there among this which driver is best and why it is best.Which driver is most commonly used in web applications.

6 6432

I have written a program to connect to database using odbc.Can this Application run on any Platform????

2 2912

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

1 1925

How we store procedure in oralce for callable statements in jdbc

1444

Give me some example for getting connection from connection pooling in JBoss Server. Is Connection Pool default in Server or we have to create it? Who can create Connection Pool in a Team. How it will be accessed by the developer code?

TCS,

1 3280

java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDr iver? I get this error at run time.I used oracle10G. I set CLASS PATH:C:\oraclexe\app\oracle\product\10.2.0 \server\jdbc\lib\ojdbc14.jar; I write JDBC PROGRAM like import java.sql.*; class Example { public static void main(String args[]) { try { Class.forName ("oracle.jdbc.driver.OracleDriver"); System.out.println("Driver Loaded"); Connection con=DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:xe","system","salmas"); System.out.println("Driver Connected"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select * from emp"); while(rs.next()) { System.out.println(rs.getInt(1)); System.out.println(rs.getString(2)); System.out.println(rs.getString(3)); } st.close(); con.close(); } catch(Exception e) { System.out.println(e); } finally { System.out.println("it's finally block executed"); } } }

CTS,

6 19876

What will happen when ResultSet is not closed?

CTS,

1 5468

PreparedStatement is a pre compiled statement but where it's pre compiled ?

4 9785

can we create a own jdbc driver? how can we create?

HCL,

1 4038

what are the drawbacks of JDBC? explain briefly?

5 29365


Post New JDBC Questions






Un-Answered Questions { JDBC }

What are the benefits of PreparedStatement over Statement?

157


How can you load the drivers?

132


What is jdbc odbc bridge?

102


How can we retrieve the file in the oracle database?

135


What do you understand by jdbc datasource?

153






What are the utilities of the callablestatement?

139


What are the 4 types of jdbc drivers?

106


Is jdbctemplate thread safe?

97


What are clob and blob data types in jdbc?

138


How vendor Naming registry supports JNDI?

1387


What is preparedstatement in jdbc?

106


What is executequery in java?

96


What is connection data?

101


Is jdbc a web technology?

107


What is use of connection pooling?

126