Jakarta Persistence (JPA) Method

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:
Jakarta Persistence (JPA) 3.2