Interface QueryHelper

All Known Implementing Classes:
QueryHelperImpl

public interface QueryHelper
Provide a helper component for assigning custom hints during query execution. These hints may be inspected by one or more components during query execution in order to influence behavior.
Author:
Jeff Fischer
  • Method Details

    • getResultListWithHint

      <X> List<X> getResultListWithHint(jakarta.persistence.TypedQuery<X> query, String hintKey, Object hintValue)
    • getSingleResultWithHint

      <X> X getSingleResultWithHint(jakarta.persistence.TypedQuery<X> query, String hintKey, Object hintValue)
    • getResultListWithHint

      List getResultListWithHint(jakarta.persistence.Query query, String hintKey, Object hintValue)
    • getSingleResultWithHint

      Object getSingleResultWithHint(jakarta.persistence.Query query, String hintKey, Object hintValue)
    • getQueryHint

      Object getQueryHint(String hintKey)