JpaEntityInformation<M, ID> entityInformation = getEntityInformation((Class<M>) metadata.getDomainType());
SimpleBaseRepository repository = new SimpleBaseRepository<M, ID>(entityInformation, entityManager);
SearchableQuery searchableQuery = AnnotationUtils.findAnnotation(repositoryInterface, SearchableQuery.class);
if (searchableQuery != null) {
String countAllQL = searchableQuery.countAllQuery();
if (!StringUtils.isEmpty(countAllQL)) {
repository.setCountAllQL(countAllQL);
}
String findAllQL = searchableQuery.findAllQuery();
if (!StringUtils.isEmpty(findAllQL)) {