Example usage for org.springframework.data.jpa.repository.support JpaEntityInformation getJavaType

List of usage examples for org.springframework.data.jpa.repository.support JpaEntityInformation getJavaType

Introduction

In this page you can find the example usage for org.springframework.data.jpa.repository.support JpaEntityInformation getJavaType.

Prototype

Class<T> getJavaType();

Source Link

Document

Returns the actual domain class type.

Usage

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);
}