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

How do you download stubs from Remote place?

0 Answers  


What is exception handling in java?

0 Answers  


Explain about abstract classes in java?

0 Answers  


What is a constructor, constructor overloading in java?

0 Answers  


Why does java does not support multiple inheritance? Explain

0 Answers  


What is a default package ?

7 Answers  


What is the difference between panel and frame ?

7 Answers   HCL, IBM, Raim Techno Solutions,


Can you start a thread twice in Java?

0 Answers  


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

0 Answers   Rolta,


What do you mean by platform independence of Java?

0 Answers  


How to sort double array in java?

0 Answers  


Difference between Web-based applications,Client- Server applications and Distributed applications?

3 Answers   Infosys,


Categories