Previous Topic Next topic Print topic


Class CobolLocalTransaction

An implementation class that defines a local transaction demarcation at the application level.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
java.lang.Object

extended by com.microfocus.cobol.connector.cci.CobolLocalTransaction

All Implemented Interfaces

Interaction

Class Specifications

public class CobolLocalTransaction

extends Object

implements LocalTransaction

Constructor Summary

CobolLocalTransaction()
CobolLocalTransaction(CobolManagedConnection mc)
Create a new CobolLocalTransaction instance.

Methods

Method Summary
void begin()

Begin a local transaction.

void commit()

Commit a user-defined local transaction.

void rollback()

Roll back a user-defined local transaction.

void setManagedConnection(CobolManagedConnection mc)
void setReset()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CobolLocalTransaction
public CobolLocalTransaction(CobolManagedConnection mc)

Create a new CobolLocalTransaction instance.

Parameters:
mc The CobolManagedConnection instance.
CobolLocalTransaction
public CobolLocalTransaction()

Method Detail

setManagedConnection
public void setManagedConnection(CobolManagedConnection mc)
begin
public void begin()
           throws ResourceException

Begin a local transaction.

Specified by:
begin in interface Interaction
Throws:
ResourceException
commit
public void commit()
            throws ResourceException

Commit a user-defined local transaction.

Specified by:
commit in interface Interaction
Throws:
ResourceException
rollback
public void rollback()
              throws ResourceException

Roll back a user-defined local transaction.

Specified by:
rollback in interface Interaction
Throws:
ResourceException
setReset
public void setReset()
Previous Topic Next topic Print topic