Set the query timeout, in milliseconds. This is a hint, and is an alternative to setting the hint
jakarta.persistence.query.timeout.- Parameters:
timeout- the timeout, in milliseconds, or null to indicate no timeout
- Returns:
- the same query instance.
- Since:
- Jakarta Persistence (JPA) 3.2