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

Difference between comparator and comparable in java?

1103


How many tetrahedral voids are there in bcc?

1102


Why is stringbuffer thread safe?

1052


Is integer passed by reference in java?

1023


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1986


Can a static member function access member variable of an object?

1012


What do you mean by default constructor in java?

1079


What is a class instance variable?

1131


Is main a keyword in java?

984


Differentiate between class and structure.

1137


What is public static?

1042


What is the null?

1025


How do you classify Dialog Box?

1127


Are global variables initialized to zero?

963


Which class is used by server applications to obtain a port and listen for client requests?

967