Hello, I'm getting the following error when trying to use the Query in IgniteRepository:
I've tried adding the lookup strategy but also no effect: I've created a reproducable project (see attachment) spring-data-bug.zip <http://apache-ignite-users.70518.x6.nabble.com/file/t1004/spring-data-bug.zip> Some code snippet below: @Data @AllArgsConstructor public class Person { @QuerySqlField private String firstname; @QuerySqlField private String lastname; @QuerySqlField private int age; } @RepositoryConfig(cacheName = "PersonCache") public interface PersonRepository extends IgniteRepository<Person, Long> { @Query("SELECT * FROM person WHERE lastname = ?") List<Person> findByLastname(String lastname); } When omitting the @Query and List<Person> lines it starts up without any error. @Configuration @EnableIgniteRepositories(basePackageClasses = {PersonRepository.class}, queryLookupStrategy = QueryLookupStrategy.Key.CREATE_IF_NOT_FOUND) public class AppConfig { @Bean public Ignite igniteInstance() { IgniteConfiguration igniteConfiguration = new IgniteConfiguration() .setGridLogger(new Slf4jLogger()) .setMetricsLogFrequency(0); CacheConfiguration cacheConfiguration = new CacheConfiguration("PersonCache") .setIndexedTypes(Long.class, Person.class); igniteConfiguration.setCacheConfiguration(cacheConfiguration); return Ignition.start(igniteConfiguration); } } Thanks Humphrey -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
