info.joseluismartin.dao.jpa.query
Class EntityTypeQueryFinder
java.lang.Object
info.joseluismartin.dao.jpa.query.QueryFinderSupport
info.joseluismartin.dao.jpa.query.EntityTypeQueryFinder
- All Implemented Interfaces:
- QueryFinder
public class EntityTypeQueryFinder
- extends QueryFinderSupport
Find named queries declared annotated on EntityType.
- 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityTypeQueryFinder
public EntityTypeQueryFinder(javax.persistence.metamodel.EntityType<?> entityType)
- Parameters:
entityType -
find
public Map<String,String> find()
- Find for NamedQueries and return a Map with name as key and query string as value.
- Specified by:
find in interface QueryFinder- Specified by:
find in class QueryFinderSupport
- Returns:
- Map with query strings
Copyright © 2012 JDAL. All Rights Reserved.