JPA Method
in jakarta.persistence.EntityTransaction

void setTimeout(
  Integer timeout
)


Set the transaction timeout, in seconds. This is a hint.
Parameters:
timeout - the timeout, in seconds, or null to indicate that the database server should set the timeout
Since:
JPA 3.2