Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the purpose of setAutoCommit() ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a default constraint?

1118


What are the basic control structures?

1040


How do you square a number?

1354


What are the two main uses of volatile in Java?

1095


Write a function to find out longest palindrome in a given string?

1122


State the difference between strings and arrays.

1329


How does system arraycopy work in java?

1185


Is string is a keyword in java?

1036


What are the parts of a method?

1031


What is the size of integer?

1155


What is the difference between method and means?

1133


What are the 6 mandatory procedures for iso 9001?

1094


Can we create a class inside a class in java?

1154


How do you include a string in java?

1060


Is java programming easy?

1046