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 |
y cant i declare method like public final static show()
what is mean by thread lock?
What is an iterator interface in java programming?
Can static method access instance variables ?
What do you mean by an interface in java?
When should you make a function static?
Features of Java?
What are the advantages of arraylist over arrays?
How does abstract modifier work?
Can you have a constructor in abstract class?
What is the char data type?
for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }