Create a Criteria query based on the EntityManager
and the
org.compass.gps.device.hibernate.entities.EntityInformation .
Criteria queries respect customizations about eager fetching of
collections.
Parameters: session - The Hibernate session to create the query with Parameters: entityInformation - The enity information to create the query with the Hibernate query
Create a HIbnerate Query based on the Hibernate Session and
the
org.compass.gps.device.hibernate.entities.EntityInformation .
Parameters: session - The Hibernate session to create the query with Parameters: entityInformation - The enity information to create the query with the Hibernate query