public SelectRepositoryImpl(Class<T> domainClass, EntityManager em) { this(JpaEntityInformationSupport.getMetadata(domainClass, em), em); }
public CommonRepositoryImpl(Class<T> domainClass, EntityManager em) { super(JpaEntityInformationSupport.getMetadata(domainClass, em), em); manager = em; this.cls = domainClass; }
/** * Creates a new {@link SimpleJpaRepository} to manage objects of the given domain type. * * @param domainClass * @param em */ protected GenericRepositoryImpl(final Class<T> domainClass, final EntityManager em) { this(JpaEntityInformationSupport.getMetadata(domainClass, em), em, null, null); }
public ProjectionRepositoryImpl(Class<T> domainClass, EntityManager em) { super(domainClass, em); this.em = em; this.entityInformation = JpaEntityInformationSupport.getEntityInformation(domainClass, em); }