org.compass.gps.device.hibernate
Interface HibernateQueryProvider
- All Known Implementing Classes:
- DefaultHibernateQueryProvider
public interface HibernateQueryProvider
During indexing time provides the Jpa Query to extract the data
to be indexed per entity.
- Author:
- kimchy
createQuery
org.hibernate.Query createQuery(org.hibernate.Session session,
EntityInformation entityInformation)
- Create a Jpa Query based on the Jpa
EntityManager and
the EntityInformation.
- Parameters:
session - The Hibernate session to create the query withentityInformation - The enity information to create the query with
- Returns:
- the Hibernate query
Copyright (c) 2004-2006 The Compass Project.