JPA Static Methodin jakarta.persistence.TimeoutTimeout seconds( int seconds) Specify a timeout in seconds. Since:JPA 3.2