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 an algorithm in java collection framework? : java collections
What are the different types of ways where you can iterate over a list? : java collections
What is the Spring2.5 MVC Navigation flow?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What is the enumerator of the java collection framework? : java collections
What are the different types of classes implemented in the set interfaces? : java collections
What are the interfaces in java collections? : java collections
my interviewer asked me what technical specification you used how to answer that question
please mail me the interview question based on java/j2ee
What are the different types of collections views being provided by the map interface? : java collections
What is the difference between comparable and comparator in java.util pkg?
What are the main classes of the list interfaces? : java collections
Which interface does java.util.hashtable implement?
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 the use of hashcode in java ?