sorry, nvm, it was a wrong setup. both work now. sorry for the spawn
On Thu, Aug 8, 2019 at 4:12 PM relax ken wrote:
> to correct the query, I did set args
>
> `userDBRecordCache.query(new SqlFieldsQuery("select userId from " +
> UserIgniteRecord.class.getSimpleName() + " where username =
> ?").
to correct the query, I did set args
`userDBRecordCache.query(new SqlFieldsQuery("select userId from " +
UserIgniteRecord.class.getSimpleName() + " where username =
?").setArgs(userName));`
copied a wrong one in my last email
On Thu, Aug 8, 2019 at 4:09 PM relax ken wrote:
> Hi,
>
> I am tryin
Hi,
I am trying to use ignite query and indexing by following ignite example
but can't get it work.
Here is my entity class:
public class UserIgniteRecord {
@QuerySqlField(index = true)
public final String userId;
@QuerySqlField(index = true)
public final String username;
@