Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions api/src/main/java/jakarta/transaction/UserTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ void rollback() throws IllegalStateException, SecurityException,
int getStatus() throws SystemException;

/**
* Modify the timeout value that is associated with transactions started by the current thread with the begin method.
* Specifies the timeout value to be associated with transactions
* subsequently started by the current thread with the begin method.
*
* <p>
* If an application has not called this method, the transaction service uses some default value for the transaction
Expand All @@ -112,7 +113,8 @@ void rollback() throws IllegalStateException, SecurityException,
void setTransactionTimeout(int seconds) throws SystemException;

/**
* Modify the read-only value that is associated with transactions started by the current thread with the begin method.
* Specifies the read-only value to be associated with transactions
* subsequently started by the current thread with the begin method.
*
* <p>
* If an application has not called this method, the transaction service uses the default value {@code false} for the
Expand Down