org.compass.gps.device.jpa.queryprovider
Class HibernateJpaQueryProvider

java.lang.Object
  extended by org.compass.gps.device.jpa.queryprovider.DefaultJpaQueryProvider
      extended by org.compass.gps.device.jpa.queryprovider.HibernateJpaQueryProvider
All Implemented Interfaces:
JpaQueryProvider

public class HibernateJpaQueryProvider
extends DefaultJpaQueryProvider

Author:
kimchy

Constructor Summary
HibernateJpaQueryProvider(Class<?> entityClass, String entityName)
           
HibernateJpaQueryProvider(String selectQuery)
           
 
Method Summary
 Criteria createCriteria(HibernateEntityManager entityManager, EntityInformation entityInformation)
          Returns a Hibernate criteria if no selectQuery has been set.
 
Methods inherited from class org.compass.gps.device.jpa.queryprovider.DefaultJpaQueryProvider
createQuery, isUsingDefaultSelectQuery, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HibernateJpaQueryProvider

public HibernateJpaQueryProvider(Class<?> entityClass,
                                 String entityName)

HibernateJpaQueryProvider

public HibernateJpaQueryProvider(String selectQuery)
Method Detail

createCriteria

public Criteria createCriteria(HibernateEntityManager entityManager,
                               EntityInformation entityInformation)
Returns a Hibernate criteria if no selectQuery has been set.



Copyright (c) 2004-2008 The Compass Project.