Interface RawEntityManagerHandler
-
- All Superinterfaces:
BaseEntityManagerHandler
- All Known Implementing Classes:
RawEntityManagerHandlerImpl
public interface RawEntityManagerHandler extends BaseEntityManagerHandler
Defines low-level access to JPA persistence
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.querydsl.jpa.impl.JPAQuery<?>fromRaw(com.querydsl.core.types.EntityPath<?>... from)Returns a new raw JPA query with the from clause populated from the given entitiesjavax.persistence.EntityManagergetEntityManager()Returns theEntityManagerassociated with the current transactionjavax.persistence.EntityManagerFactorygetEntityManagerFactory()Returns theEntityManagerFactory<E extends IEntity>
EgetReference(Class<E> entityClass, Long id)Returns an unitialized proxy (reference) for the given class and id
-
-
-
Method Detail
-
fromRaw
com.querydsl.jpa.impl.JPAQuery<?> fromRaw(com.querydsl.core.types.EntityPath<?>... from)
Returns a new raw JPA query with the from clause populated from the given entities
-
getEntityManager
javax.persistence.EntityManager getEntityManager()
Returns theEntityManagerassociated with the current transaction
-
getEntityManagerFactory
javax.persistence.EntityManagerFactory getEntityManagerFactory()
Returns theEntityManagerFactory
-
-