aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Savepoint/Rollback Through EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Savepoint/Rollback Through EJB" Watch "Savepoint/Rollback Through EJB" New topic
Author

Savepoint/Rollback Through EJB

Mahesh Kulkarni
Ranch Hand

Joined: Jul 05, 2001
Posts: 62
Hi,
We would like to create savepoint through EJB for oracle.Can it be possible? If we create savepoint then we would like to rollback to that savepoint? Also rollback method of connection class does not have rollback with a parameter.Please help.
Thanx
Mahesh
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

EJBs use the Java transaction subsystem for this kind of stuff. That keeps commit/rollback mostly independent of the brand of DBMS in use.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Savepoint/Rollback Through EJB