[ https://issues.apache.org/jira/browse/IGNITE-16124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528345#comment-17528345 ]
Alexandr Shapkin commented on IGNITE-16124: ------------------------------------------- [~NSAmelchev] Thanks for the clarification! > deleteAllById has wrong signature > --------------------------------- > > Key: IGNITE-16124 > URL: https://issues.apache.org/jira/browse/IGNITE-16124 > Project: Ignite > Issue Type: Bug > Components: extensions > Reporter: Michael Reiche > Assignee: Andrey Belyaev > Priority: Major > > java: name clash: deleteAllById(java.lang.Iterable<java.lang.Integer>) in > org.apache.ignite.springdata20.repository.IgniteRepository and > deleteAllById(java.lang.Iterable<? extends java.lang.Integer>) in > org.springframework.data.repository.CrudRepository have the same erasure, yet > neither overrides the other > <properties> > <spring.data.version>2.6.0-RC1</spring.data.version> > <ignite.version>2.9.1</ignite.version> > </properties> > <dependencies> > <dependency> > <groupId>org.apache.ignite</groupId> > <artifactId>ignite-spring-data_2.0</artifactId> > <version>${ignite.version}</version> > </dependency> > <dependency> > <groupId>org.apache.ignite</groupId> > <artifactId>ignite-core</artifactId> > <version>${ignite.version}</version> > </dependency> > <dependency> > <groupId>org.apache.ignite</groupId> > <artifactId>ignite-indexing</artifactId> > <version>${ignite.version}</version> > </dependency> > <dependency> > <groupId>org.apache.ignite</groupId> > <artifactId>ignite-spring</artifactId> > <version>${ignite.version}</version> > </dependency> > <dependency> > <groupId>org.springframework.data</groupId> > <artifactId>spring-data-commons</artifactId> > <version>${spring.data.version}</version> > </dependency> > > If ignite-spring-data is used instead of ingite-spring-data_2.0, the method > deleteAll is flagged > java: name clash: deleteAll(java.lang.Iterable<? extends > com.example.ignite.EmployeeDTO>) in > org.springframework.data.repository.CrudRepository and > deleteAll(java.lang.Iterable<java.lang.Integer>) in > org.apache.ignite.springdata.repository.IgniteRepository have the same > erasure, yet neither overrides the other > And 2.2-ext gives the following: > <groupId>org.apache.ignite</groupId> > <artifactId>ignite-spring-data-2.2-ext</artifactId> > <version>1.0.0</version> > java: name clash: deleteAllById(java.lang.Iterable<java.lang.Integer>) in > org.apache.ignite.springdata22.repository.IgniteRepository and > deleteAllById(java.lang.Iterable<? extends java.lang.Integer>) in > org.springframework.data.repository.CrudRepository have the same erasure, yet > neither overrides the other > package com.example.ignite; > import org.apache.ignite.springdata.repository.IgniteRepository; > import org.apache.ignite.springdata.repository.config.RepositoryConfig; > @RepositoryConfig(cacheName = "myCache") > public interface EmployeeRepository<E,ID> extends > IgniteRepository<EmployeeDTO, Integer> > { EmployeeDTO getEmployeeDTOById(ID id); } -- This message was sent by Atlassian Jira (v8.20.7#820007)