List of usage examples for org.springframework.data.jpa.repository.support Querydsl Querydsl
public Querydsl(EntityManager em, PathBuilder<?> builder)
From source file:com.wiiyaya.framework.provider.repository.BaseDaoImpl.java
public BaseDaoImpl(JpaEntityInformation<T, ID> entityInformation, EntityManager entityManager) { super(entityInformation, entityManager); this.path = SimpleEntityPathResolver.INSTANCE.createPath(entityInformation.getJavaType()); this.builder = new PathBuilder<T>(path.getType(), path.getMetadata()); this.querydsl = new Querydsl(entityManager, builder); }