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 many ways can an argument be passed to a subroutine?

3 Answers   Technological University of the Philippines,


Can we have multiple classes in single file ?

0 Answers  


What are static initalizers in java ?

0 Answers  


what is thread? What are the high-level thread states? : Java thread

0 Answers  


What is the size of integer?

0 Answers  


what is object deep copy and shallow copy and why it is required?

2 Answers  


What is the use of http-tunneling in rmi?

0 Answers  


What is the requirement of thread in java?

0 Answers  


Is it possible for yielded thread to get chance for its execution again ?

0 Answers  


Can a class extends itself in java?

0 Answers  


why interaction with server using javascript is difficult

1 Answers  


what is the difference between object and class

10 Answers   IBM,


Categories