TypedQuery<X> setTimeout(
Integer timeout
)
Set the query timeout, in milliseconds. This is a hint, and is an alternative to plain
jakarta.persistence.query.timeout. - Parameters:
timeout- the timeout, in milliseconds, or null to indicate no timeout
- Return:
- the same query instance
- Since:
- JPA 3.2