org.compass.gps.device.jpa.queryprovider
Interface JpaQueryProvider

All Known Implementing Classes:
DefaultJpaQueryProvider, HibernateJpaQueryProvider

public interface JpaQueryProvider

During indexing time provides the Jpa Query to extract the data to be indexed per entity.

Author:
kimchy

Method Summary
 javax.persistence.Query createQuery(javax.persistence.EntityManager entityManager, EntityInformation entityInformation)
          Create a Jpa Query based on the Jpa EntityManager and the EntityInformation.
 

Method Detail

createQuery

javax.persistence.Query createQuery(javax.persistence.EntityManager entityManager,
                                    EntityInformation entityInformation)
Create a Jpa Query based on the Jpa EntityManager and the EntityInformation.

Parameters:
entityManager - The entity manager to create the query with
entityInformation - The enity information to create the query with
Returns:
the Jpa query


Copyright (c) 2004-2008 The Compass Project.