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
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 |
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 |
what is the use of clone() in real time scenario?
Explain importance of inheritance in java?
How to decrease number of hashings in has
Can we assign null to double in java?
How a string is stored in memory?
Where is jre installed?
Nested classes VS Inner classes?
Give few difference between constructor and method?
What happens when a thread cannot acquire a lock on an object in java programming?
If a method is declared as protected, where may the method be accessed in java programming?
What is the purpose of the File class?
What is the difference between heap memory and stack memory?