how a programmer confirms that the data submitted has been
succesfully inserted into the database(either oracle or my
sql).. How a programmer confirm if there is any problem with
the program he wrote for insertion...

ANS:--- >executeupdate method is having boolean return type,
if anything goes wrong in data insertion or data updation,
it would return false. otherwise, if it successfully inserts
data into the database, it would return true

NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS
TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

can we have function for truncating the sign as like abs in oracle.

1 Answers  


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

0 Answers   SAP Labs,


Nullpointer exception is a very common exception. Why is it not made as a checked exception?

2 Answers   Ness Technologies,


What is the primitive type byte?

0 Answers  


How do you download stubs from Remote place?

0 Answers  






In Java why we write public static void main(String args[]) why not main()?

46 Answers   Aptech, GE Healthcare, Infosys, Microsoft, New Horizon, Practical Viva Questions, TCS, Wipro,


what is the diff b/w arraylist and vector?

6 Answers   Code Genesis, Genesis, Sprintine Labs,


Is char * a string?

0 Answers  


Hi friends i want display Triangle shap stars(*) please can tell me any one java code logic? * *** ***** ******* Like this

2 Answers   NIIT, TCS,


What is unicode in java?

0 Answers  


How many bytes are a float?

0 Answers  


What class allows you to read objects directly from a stream?

0 Answers  


Categories