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

when there is a need of jvm then how we can say that java is a platform independent language?

3 Answers  


What is difference between synchronize and concurrent collection in java?

0 Answers  


Write a program to calculate factorial in java?

0 Answers  


Can we use this () and super () in a method?

0 Answers  


what do you mean by java annotations?

0 Answers  


What is anti pattern in java?

0 Answers  


what is deadlock in threads? with example

2 Answers   CTS, XOXO,


Which variable is the independent variable?

0 Answers  


Explain the role played by Java Virtual Machine in Java Programming?

1 Answers  


What is the difference between procedural and object-oriented programs?

0 Answers  


What are variable names?

0 Answers  


how to prepare for IT Officers Interview in Banks

0 Answers   TATA, Tata Steel Limited,


Categories