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 do you create UserTransaction Object? How do you
rollback a transaction in a method?



How do you create UserTransaction Object? How do you rollback a transaction in a method?..

Answer / gnani

the user transactin object created using session
Transaction tx=session.beginTransaction();
the rollback is:
tx.rollback();

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More Java J2EE AllOther Interview Questions

What are maps interfaces in the java collections? : java collections

0 Answers  


What is the difference between comparable and comparator in java.util pkg?

0 Answers  


What are the types of interface used in the java collections? : java collections

0 Answers  


What is need of DAO? Write one simple DAO example?

2 Answers   IBM,


what are callback methods?

3 Answers   iFlex,


Difference b/w >> and >>> ?

1 Answers   Adobe, Infosys,


What are the differences between the java collection and the java list? : java collections

0 Answers  


What is a constructor?

4 Answers  


can u draw class/object diagram for ATM

0 Answers   HCL, Zycus Infotech,


what is hibernate ceteria ?

4 Answers   Fidelity,


How is hashset maintained in memory by java ?

0 Answers  


what is difference between business deligate and session facade ?

2 Answers   Fidelity,


Categories