Abstract: How do I control transactions on a dataStore?
If you are accessing table streams inside a DataStore, use a java bean that extends from StorageDataSet (such as Query/Procuedure/TableDataSet). Make sure you set the StorageDataSet.StoreName property to the table stream name and the StorageDataSet.Store property to a DataStore or DataStoreConneciton component first.
Transactions are automatically started the first time a read or write operation is attempted against a JDataStore table or file. To commit the transaction call DataStoreConnection.commit(). to rollback the transaction, call DataStoreConnection.rollback.