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...

How transactions are performed using JDBC ?

Answer Posted / devarathnam c,kotagudibanda(po

Hi... Using the following methods we can perform
transactions in JDBC
1:commit();
2:rollback();
3:setAutoCommit();These are in the Connection interface

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an escape syntax?

992


Why do you use a data source object for a connection?

1030


What is the function of setautocommit?

1236


What does setautocommit do?

969


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

998


What is jdbc connection interface?

1015


What does jdbc setmaxrows method do?

964


How we can you use preparedstatement.

969


What is meant by dao?

937


Is oracle client required for jdbc connection?

968


What is new in JDBC 2.0?

1022


Why do we need a jdbcrowset like wrapper around resultset?

1246


How a database driver can be loaded with jdbc 4.0 / java 6?

942


What are the jdbc statements?

973


If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?

998