Interface Queryable<T,​X extends Queryable<T,​X>>

    • Method Detail

      • getQueryString

        String getQueryString()
        Returns the query string for the built query.
        Returns:
        The query string
      • getQuery

        javax.persistence.TypedQuery<T> getQuery()
        Returns the JPA typed query for the built query. The returned query is already parameterized with all known parameters.
        Returns:
        The typed query for the built query
      • getResultList

        List<T> getResultList()
        Execute the query and return the result as a type List.
        Returns:
        The list of the results
      • getSingleResult

        T getSingleResult()
        Execute the query expecting a single result.
        Returns:
        The single result