Java 类org.springframework.data.jpa.repository.support.JpaEntityInformationSupport 实例源码

项目:os    文件:GenericRepositoryImpl.java   
public GenericRepositoryImpl(Class<E> domainClass, EntityManager em) {
    this(JpaEntityInformationSupport.getEntityInformation(domainClass, em), em);
}
项目:sucok-framework    文件:BaseDao.java   
@Autowired
@SuppressWarnings("unchecked")
public void setEntityManager(EntityManager em) {
    this.em = em;
    this.entityInfo = (JpaEntityInformation<T, ID>) JpaEntityInformationSupport.getEntityInformation(entityClass,em);
}
项目:ha-db    文件:GenericRepositoryImpl.java   
public GenericRepositoryImpl(Class<E> domainClass, EntityManager em) {
    this(JpaEntityInformationSupport.getMetadata(domainClass, em), em);
}
项目:genericdao    文件:GenericJpaRepositoryImpl.java   
public GenericJpaRepositoryImpl(Class<T> domainClass, EntityManager entityManager) {
    //modified for spring data starter 1.3
    super(domainClass , entityManager);
    this.entityInformation = JpaEntityInformationSupport.getEntityInformation(domainClass, entityManager) ;
    this.entityManager = entityManager;
}
项目:spring-boot-jpa-data-rest-soft-delete    文件:SoftDeletesRepositoryImpl.java   
public SoftDeletesRepositoryImpl(Class<T> domainClass, EntityManager em) {
    super(domainClass, em);
    this.em = em;
    this.domainClass = domainClass;
    this.entityInformation = JpaEntityInformationSupport.getEntityInformation(domainClass, em);
}
项目:g2    文件:GenericRepositoryImpl.java   
public GenericRepositoryImpl(Class<T> domainClass, EntityManager em) {
    this(JpaEntityInformationSupport.getMetadata(domainClass, em), em);
}
项目:springfield    文件:JpaRepository.java   
@SuppressWarnings("unchecked")
public JpaRepository(Class<T> entityClass, EntityManager em) {
    this((JpaEntityInformation<T, ID>) JpaEntityInformationSupport.getMetadata(entityClass, em), em);
}
项目:gazpachoquest    文件:GenericRepositoryImpl.java   
/**
 * Creates a new {@link SimpleJpaRepository} to manage objects of the given
 * domain type.
 */
protected GenericRepositoryImpl(final Class<T> domainClass, final EntityManager em) {
    this(JpaEntityInformationSupport.getMetadata(domainClass, em), em, null);
}