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

Answers were Sorted based on User's Feedback



how a programmer confirms that the data submitted has been succesfully inserted into the database(e..

Answer / guest

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

Is This Answer Correct ?    8 Yes 1 No

how a programmer confirms that the data submitted has been succesfully inserted into the database(e..

Answer / ravi

executeupdate method have is boolean typeand if want to
check that data insert for this after statement we print a
statement that record successfully inserted if record
inserted this statement execute and otherwise print
statement not execute.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

How do you clear an arraylist in java?

0 Answers  


Name the class that used to read objects directly from a stream?

4 Answers   Wipro,


Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?

5 Answers   Ericsson,


What is final, finally, finalize?

0 Answers  


What are the benefits of java?

0 Answers  






What classes of exceptions, caught by a catch clause?

1 Answers  


What is a native method in java programming?

0 Answers  


Difference between stack and queue?

0 Answers   Flextronics,


What is instance synchronization?

0 Answers  


what is polymorphism?

5 Answers   Zensar,


What is the differenc between Enemuration interface and iterator interface according to accessing?

4 Answers  


Why parameters should be passed by reference?

0 Answers  


Categories