You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Amelchev Nikita (Jira)" <ji...@apache.org> on 2022/04/26 18:14:00 UTC

[jira] [Comment Edited] (IGNITE-16124) deleteAllById has wrong signature

    [ https://issues.apache.org/jira/browse/IGNITE-16124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528343#comment-17528343 ] 

Amelchev Nikita edited comment on IGNITE-16124 at 4/26/22 6:13 PM:
-------------------------------------------------------------------

[~ashapkin], [~YozFr], Hello.
Yes. But first, we should modernize the release process of extensions: [IGNITE-16855|https://issues.apache.org/jira/browse/IGNITE-16855]. I think it will be done in the next one or two weeks.


was (Author: nsamelchev):
[~ashapkin][~YozFr], Hello.
Yes. But first, we should modernize the release process of extensions: [IGNITE-16855|https://issues.apache.org/jira/browse/IGNITE-16855]. I think it will be done in the next one or two weeks.

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