Package | Description |
---|---|
org.springframework.data.jpa.repository.support |
JPA repository implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
JpaEntityInformationSupport<T,ID extends Serializable>
Base class for
JpaEntityInformation implementations to share common method implementations. |
class |
JpaMetamodelEntityInformation<T,ID extends Serializable>
Implementation of
EntityInformation that uses JPA Metamodel
to find the domain class' id field. |
class |
JpaPersistableEntityInformation<T extends Persistable<ID>,ID extends Serializable>
Extension of
JpaMetamodelEntityInformation that consideres methods of Persistable to lookup the id. |
Modifier and Type | Method and Description |
---|---|
<T,ID extends Serializable> |
JpaRepositoryFactory.getEntityInformation(Class<T> domainClass) |
static <T> JpaEntityInformation<T,?> |
JpaEntityInformationSupport.getMetadata(Class<T> domainClass,
javax.persistence.EntityManager em)
Creates a
JpaEntityInformation for the given domain class and EntityManager . |
Constructor and Description |
---|
QueryDslJpaRepository(JpaEntityInformation<T,ID> entityInformation,
javax.persistence.EntityManager entityManager)
Creates a new
QueryDslJpaRepository from the given domain class and EntityManager . |
QueryDslJpaRepository(JpaEntityInformation<T,ID> entityInformation,
javax.persistence.EntityManager entityManager,
EntityPathResolver resolver)
Creates a new
QueryDslJpaRepository from the given domain class and EntityManager and uses the
given EntityPathResolver to translate the domain class into an EntityPath . |
SimpleJpaRepository(JpaEntityInformation<T,?> entityInformation,
javax.persistence.EntityManager entityManager)
Creates a new
SimpleJpaRepository to manage objects of the given JpaEntityInformation . |
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.