Hi, 
    Use Ignite Spring Data module to query some selected fields from 
a table or join query from tables, the return value is just the first field of 
the record??
    Sample code:
     ----------------
     public interface ObjectARepository extends 
IgniteRepository<ObjectA, String&gt; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @Query(select a0, a1 from TableA where 
a2='xx')
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public List<ObjectA&gt; findObjectA(String 
a2);


&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @Query(select a.a0, a.a1, b.b1, b.b2&nbsp; 
from TableA as a ,TableB as b where a2=b2)
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public List<ObjectA&gt; findData();
&nbsp; &nbsp; &nbsp;} 
&nbsp; &nbsp; -----------------
&nbsp; &nbsp;How to get the expected fields using the Spring Data module?


&nbsp; &nbsp;Thanks!&nbsp;&nbsp;

Reply via email to