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 |
Write a interface "CarOperations" with the following methods void turnOnEngin() void turnOffEngin() void turnOnLigths() void turnOffLights() void turnLeft() void turnRight() void accelerate() void deaccelerate() void putBreaks() void releaseBreaks()
What are the types of java collections? : java collections
What is need of DAO? Write one simple DAO example?
what is the diffrence between insurance and telecom domain?
when exactly should we use throws ,and wen exactly should we use the try and catch for exceptional handling
Explain JSP life cycle?
what is class/object diagram
How do you debug your java program?
what is acl(access control list)?
What is the use of hashcode in java ?
Why do you use Context Object
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance