Interface NamedQueryFactory

  • All Known Implementing Classes:
    DefaultNamedQueryFactory

    public interface NamedQueryFactory
    NamedQuery Factory for NamedQueryService retrieve the NamedQueries
    • Method Detail

      • getNamedQuery

        java.lang.String getNamedQuery​(java.lang.String queryName)
                                throws InvalidNamedQueryException
        Gets the query for this queryName
        Parameters:
        queryName - - the query name
        Returns:
        a String object representing the Query
        Throws:
        InvalidNamedQueryException - when the queryName does not match any existing named queries