How do you create UserTransaction Object? How do you
rollback a transaction in a method?
Answer Posted / 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 View All Answers
What is the Spring2.5 MVC Navigation flow?
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
what is mean by hasing and maping in java platform and advantage?
What are the different types of ways where you can iterate over a list? : java collections
Which interface does java.util.hashtable implement?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What are the different types of features of the java collections framework? : java collections
What is the use of hashcode in java ?
What is the difference between comparable and comparator in java.util pkg?
What are the uses of the set interfaces in the java collections? : java collections
How is hashset maintained in memory by java ?
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What is the use of the list interface in the java collection? : java collections
please mail me the interview question based on java/j2ee
What are the types of interface used in the java collections? : java collections