Note that I chose to raise the JPA QueryTimeoutException instead of the Hibernate-specific one. There's also warning in the documentation about the SearchQuery => ORM query adapter not being guaranteed to throw the same exceptions as ORM Queries.