You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Jonathan Camargo (JIRA)" <ji...@apache.org> on 2018/11/20 20:43:00 UTC

[jira] [Created] (IGNITE-10353) Spring Add Update/Delete support for Spring Data

Jonathan Camargo created IGNITE-10353:
-----------------------------------------

             Summary: Spring Add Update/Delete support for Spring Data
                 Key: IGNITE-10353
                 URL: https://issues.apache.org/jira/browse/IGNITE-10353
             Project: Ignite
          Issue Type: Improvement
          Components: spring
            Reporter: Jonathan Camargo


In Spring Data 2.0 module, add the update/delete functionalities to work with the cache, this should be possible even using the method name in the IgniteRepository interface or by a @Query notation writing the SQL query following the ignite docs for it.

The specification for the remaining methods for the Repository interface are mentioned on the Spring documentation.



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

Re: [jira] [Created] (IGNITE-10353) Spring Add Update/Delete support for Spring Data

Posted by Jonathan Camargo <jo...@gmail.com>.
As a proposed design it will continue with the current way the lib is
working, which is for the methods with the information about the query
(i.e. findByIdOrderById() and in this case deleteByLastname()) it will
create the query working over the PartTree, which is provided by the Spring
framework, it also requires to validate when a @Query("") is being send,
and to be able to validate if that query is valid and therefore use the
SqlQueryFields from the Ignite core, or rather work with the method name,
if non is valid, then throw an IgniteException.

El mar., 20 nov. 2018 a las 15:53, Jonathan Camargo (JIRA) (<ji...@apache.org>)
escribió:

> Jonathan Camargo created IGNITE-10353:
> -----------------------------------------
>
>              Summary: Spring Add Update/Delete support for Spring Data
>                  Key: IGNITE-10353
>                  URL: https://issues.apache.org/jira/browse/IGNITE-10353
>              Project: Ignite
>           Issue Type: Improvement
>           Components: spring
>             Reporter: Jonathan Camargo
>
>
> In Spring Data 2.0 module, add the update/delete functionalities to work
> with the cache, this should be possible even using the method name in the
> IgniteRepository interface or by a @Query notation writing the SQL query
> following the ignite docs for it.
>
> The specification for the remaining methods for the Repository interface
> are mentioned on the Spring documentation.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v7.6.3#76005)
>


-- 
Jonathan Giovanny Camargo Sanabria