Giter Site home page Giter Site logo

hawkore / ignite-hk Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 3.0 320.99 MB

Apache Ignite + Hawkore's Apache Ignite Extensions

Home Page: https://www.hawkore.com

License: Apache License 2.0

JavaScript 2.99% Batchfile 0.10% Shell 1.03% Groovy 0.03% Dockerfile 0.03% Makefile 0.20% M4 0.04% C++ 6.16% Java 72.28% PHP 0.81% HTML 0.03% C 0.01% C# 10.77% PowerShell 0.02% Python 0.57% Scala 2.32% TypeScript 0.80% SCSS 0.47% Pug 1.35%

ignite-hk's People

Contributors

aborisenko-gg avatar agoncharuk avatar agura avatar akuznetsov-gridgain avatar akuznetsov-os avatar alexdel avatar amashenkov avatar anton-vinogradov avatar ashutakgg avatar dgovorukhin avatar dkarachentsev avatar dspavlov avatar glukos avatar ilantukh avatar isapego avatar jokser avatar klaster1 avatar mnusan avatar niktikhonov avatar nizhikov avatar nva avatar ptupitsyn avatar sboikov avatar sergey-chugunov-1985 avatar sevdokimov-gg avatar shroman avatar svladykin avatar vkulichenko avatar vsisko avatar zaleslaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ignite-hk's Issues

ClassCastException with Pagealbe only method argument

Hi,
while trying your ignite-spring-data_2.0 module I encounter bug with repository query method defined with only Pageable argument. While debugging I located the problem in IgniteRepositoryQuery#prepareQuery method where Pageable/Sort object is not removed from parameters and then is converted in IgniteCacheProxyImpl#convertToBinary method into BinaryObjectImpl object which causes a problem later on.

Example:

public class TestRepository {

    @Query(...custom query...)
    Page<...custom object...> findAll(Pageable page);

}

Stacktrace:

java.lang.ClassCastException: class org.apache.ignite.internal.binary.BinaryObjectImpl cannot be cast to class org.springframework.data.domain.Pageable (org.apache.ignite.internal.binary.BinaryObjectImpl and org.springframework.data.domain.Pageable are in unnamed module of loader 'app')

	at org.apache.ignite.springdata20.repository.query.IgniteRepositoryQuery.transformQueryCursor(IgniteRepositoryQuery.java:473)
	at org.apache.ignite.springdata20.repository.query.IgniteRepositoryQuery.execute(IgniteRepositoryQuery.java:314)
	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605)
	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595)
	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy69.findAll(Unknown Source)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.