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> {
@Query(select a0, a1 from TableA where
a2='xx')
public List<ObjectA> findObjectA(String
a2);
@Query(select a.a0, a.a1, b.b1, b.b2
from TableA as a ,TableB as b where a2=b2)
public List<ObjectA> findData();
}
-----------------
How to get the expected fields using the Spring Data module?
Thanks!