You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Celes <ap...@hotmail.com> on 2017/11/12 20:27:20 UTC
Problem with spring-data-commons 2
Hi
Using the following versions:
spring-data-commons = 2.0.0.RELEASE
ignite-spring-data = 2.3.0
I receive the following error trying to use an IgniteRepository:
Error:(8, 8) java: name clash: deleteAll(java.lang.Iterable<? extends T>) in org.springframework.data.repository.CrudRepository and deleteAll(java.lang.Iterable<ID>) in org.apache.ignite.springdata.repository.IgniteRepository have the same erasure, yet neither overrides the other
The latest version of spring-data has included the following method:
void deleteAll(Iterable<? extends T> entities);
that causes the above error
Best regards
[https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif]
Javier Reyes
Re: Problem with spring-data-commons 2
Posted by Alexey Kukushkin <ku...@gmail.com>.
Hi,
Apparently you cannot just bump the Spring dependency due to that new
deleteAll(Iterable<T> ids) they added in CrudRepository 2.0 that conflicts
with the same method in our IgniteRepository.
I opened a tickets to support Spring 2.0:
https://issues.apache.org/jira/browse/IGNITE-6879