ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Meerson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6879) Support Spring 2.0
Date Mon, 07 May 2018 14:59:00 GMT

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

Roman Meerson commented on IGNITE-6879:
---------------------------------------

[~dpavlov] I faced with same problem and it fixed by changing spring version to old one.

We couldn`t just add two version because if we do so we have to duplicate *ignite-spring*
module and live with 2 modules for spring and with 2 moodules for spring data.

With old spring version tests of both modules works good

> Support Spring 2.0
> ------------------
>
>                 Key: IGNITE-6879
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6879
>             Project: Ignite
>          Issue Type: Improvement
>          Components: spring
>    Affects Versions: 2.3
>            Reporter: Alexey Kukushkin
>            Assignee: Roman Meerson
>            Priority: Major
>             Fix For: 2.6
>
>
> Ignite-spring and ignite-spring-data now use Spring 1.1 and cannot be rebuilt with Spring
2.0. Trying to change the Spring dependency version to 2.0.0.release results in compile errors
like below and requires regression in general. 
> This improvement was created to either migrate from Spring 1.1 to 2.0 or create another
set of modules ignite-spring-xxx-2 to have backward compatibility with Spring 1.1.
> [ERROR] /Users/kukushal/Dev/incubator-ignite/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/IgniteRepository.java:[57,10]
name clash: deleteAll(java.lang.Iterable<ID>) in org.apache.ignite.springdata.repository.IgniteRepository
and deleteAll(java.lang.Iterable<? extends T>) in org.springframework.data.repository.CrudRepository
have the same erasure, yet neither overrides the other



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message