List of usage examples for org.springframework.data.jpa.repository.support JpaMetamodelEntityInformation getIdAttributeNames
@Override
public Iterable<String> getIdAttributeNames()
From source file:com.github.dactiv.orm.core.spring.data.jpa.repository.support.JpaSupportRepository.java
@SuppressWarnings("rawtypes") public String getIdName() { JpaMetamodelEntityInformation information = (JpaMetamodelEntityInformation) entityInformation; return information.getIdAttributeNames().iterator().next().toString(); }