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 multi-catch block in java?
What does regex mean?
What is append in java?
Why do we use predicate in java?
What is a local, member and a class variable?
What do you mean by byte code?
Is hashmap thread safe?
why we import both packages java.awt.*; and java.awt.event.*; as java.awt.*; can import all classes na. then what is the need of importing java.awt.event.*; ?
Tell us something about set interface.
What is difference between word and integer?
Explain aggregation in java?
What are the types of inner classes (non-static nested class) used in java?