jdk/src/share/classes/javax/sql/rowset/spi/TransactionalWriter.java
changeset 21278 ef8a3a2a72f2
parent 5506 202f599c92aa
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    35 /**
    35 /**
    36  * A specialized interface that facilitates an extension of the standard
    36  * A specialized interface that facilitates an extension of the standard
    37  * <code>SyncProvider</code> abstract class so that it has finer grained
    37  * <code>SyncProvider</code> abstract class so that it has finer grained
    38  * transaction control.
    38  * transaction control.
    39  * <p>
    39  * <p>
    40  * If one or more disconnected <code>RowSet</code> objects are particating
    40  * If one or more disconnected <code>RowSet</code> objects are participating
    41  * in a global transaction, they may wish to coordinate their synchronization
    41  * in a global transaction, they may wish to coordinate their synchronization
    42  * commits to preserve data integrity and reduce the number of
    42  * commits to preserve data integrity and reduce the number of
    43  * sychronization exceptions. If this is the case, an application should set
    43  * synchronization exceptions. If this is the case, an application should set
    44  * the <code>CachedRowSet</code> constant <code>COMMIT_ON_ACCEPT_CHANGES</code>
    44  * the <code>CachedRowSet</code> constant <code>COMMIT_ON_ACCEPT_CHANGES</code>
    45  * to <code>false</code> and use the <code>commit</code> and <code>rollback</code>
    45  * to <code>false</code> and use the <code>commit</code> and <code>rollback</code>
    46  * methods defined in this interface to manage transaction boundaries.
    46  * methods defined in this interface to manage transaction boundaries.
    47  */
    47  */
    48 public interface TransactionalWriter extends RowSetWriter {
    48 public interface TransactionalWriter extends RowSetWriter {