What is the purpose of setAutoCommit() ?
Answer / shahnawaz sheikh
If AutoCommit is off, then any update or insert operation
perforned on database will not be reflected just after the
query is executed.Though the operation has been
successfully completed.
We will have to commit the transaction manually, to view
the incurred changes.
This also keeps user on the safer side, if some
undesirable row has been inserted,updated or deleted in the
database then it can be rollback.
While if the AutoCommit is on any update,insert or delete
are at once reflected onto the database.
| Is This Answer Correct ? | 13 Yes | 1 No |
Why convert an applet to an application?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
Hi Friends.. can any one provide the real time example for methodoverloading and methodoverriding .........
How is a structure different from array ?
Why pass by reference is not possible in java?
Explain different ways of creating a thread?
What is a generic type?
What’s meant by anonymous class?
Explain about field hiding in java?
How can we handle runtime exceptions? write one sample program? Can we write runtime exceptions beside the throws key word? if yes write sample program?
What is super constructor?
List some java keywords sun like c, c + + keywords?