public class ContainerLocalTransaction extends Object implements javax.resource.spi.LocalTransaction
Modifier and Type | Method and Description |
---|---|
void |
begin()
Method to start the Transaction
|
void |
commit()
Method to commit the Transaction
|
void |
internalBegin()
Method to start the Transaction
|
void |
internalCommit()
Method to commit the Transaction
|
void |
internalRollback()
Method to rollback the Transaction
|
void |
rollback()
Method to rollback the Transaction
|
public void begin() throws javax.resource.ResourceException
begin
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
- if error occurspublic void commit() throws javax.resource.ResourceException
commit
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
- if error occurspublic void rollback() throws javax.resource.ResourceException
rollback
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
- if error occurspublic void internalRollback()
public void internalBegin()
public void internalCommit()
Copyright © 2015. All rights reserved.