info.joseluismartin.dao.jpa.query
Interface QueryFinder

All Known Implementing Classes:
EntityTypeQueryFinder, MetamodelQueryFinder, QueryFinderSupport

public interface QueryFinder

Strategy to find named query string. JPA API don't support access to Query String from Query objects so we need this to try to find them.

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Method Summary
 Map<String,String> find()
          Find for NamedQueries and return a Map with name as key and query string as value.
 String find(String name)
          Find a NameQuery String by name
 

Method Detail

find

Map<String,String> find()
Find for NamedQueries and return a Map with name as key and query string as value.

Returns:
Map with query strings

find

String find(String name)
Find a NameQuery String by name



Copyright © 2012 JDAL. All Rights Reserved.