GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

JDBC Interview Questions


JDBC Interview Questions

Questions: 136
Comments: 376
 JDBC Tags
 Showing Questions 1-10 of 135 Questions
[1] 2 3 4 5 6 7 8 9 10 Next >>
 Sponsored Links

 
 JDBC Interview Questions
Sorting Options :  

Give me brief description with small Example 
View Question | Asked by : timmireddy

Hi,I tried using connection pooling concept through weblogic 8.1 .import java.sql.*;import javax.naming.*;import javax.sql.DataSource;public class ConnectionpoolDemo { public static void main(String[] 
Latest Answer: try using this code............import java.util.*;import java.sql.*;import javax.sql.*;import javax.naming.*;public class ConnectionPool{ public static void main(String args[]) {  try  {   Hashtable hs=new ...

Explain with examples for SCROLLABLE_SENSITIVE resultset? 
Latest Answer: Scrollable means the cursor can move forward or backward and Sensitive meansex:If u are using SCROLLABLE_SENSITIVE resultset i.e u have opened the result setIf any other person makes changes like inserting,updating or deleting ,the changes which are effected ...

What is the functionality of the cancel() method, provided in java.sql.Statement? 
View Question | Asked by : khadarzone

How can we call a stored procedure in Java using CallableStatements? Give an example. 
Latest Answer: first get connection objectConnection con=DriverManager.getConnection(); (we can get by datasourse object also)CallableStatement cstmt=con.prepareCall("{ call procedurename(?,?,?,?) }");cstmt.setString(1,ID);cstmt.setString(2,name);....ucount=cstmt.executeUpdate(); ...

which of the following methods eliminates the need to call wasNull() method to handle null database fields?a)getObject()b)getInt()c)getString()d)getFloat()e)getNull() 
Latest Answer: Two Ways:1> Use the wasNull() method on the ResultSet.2> Use the getObject() method on the ResultSet and do the Comparision. ...

A user leaves an online shopping cart without checking out.Which of the following interfaces will notify to rollback the transaction?
A user leaves an online shopping cart without checking out.Which of the following interfaces will notify to rollback the transaction?a)HttpSessionb)HttpSessionBindingListenerc)HttpServletd)SingleThreadModele)FtpSession 

Resultset objects follow index pattern ofa)Array standardb)java standardc)RDBMS standardd)c++ standarde)pl/sql standard 
Latest Answer: It should be 'Array standard' ...

Which of the following values can be replaced in the place of 1 and 2 below Statement stmt= con.createStatement(1,2);a) ResultSet. TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLYb) ResultSet. TYPE_SCROLL_INSENSITIVE, 
Latest Answer: Here a and b can be used for (1,2) place respectivly. ...

Consider the following:-ID [_______]Name [_______]Marks [_______]NEW EDIT CLOSEThis is a form which I have made. What i need is When I click on NEW button, if textboxes should 
Latest Answer: Hi Dude..It's a a very simple problem what u need to do is ..Let,  JButton n1=new JButton("New"); n1.setActionCommand("New"); JButton n1=new JButton("Save"); n1.setActionCommand("Save");....public void ...

View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape