Hi,

I'm trying to use yoru sql query facility.  And I'm doing something like
this:

 
            String sql =
                    "select orgid from Person where id = ?";

                QueryCursor<List&lt;?>> cursor = cache.query(new
SqlFieldsQuery(sql).setArgs(2));

                // In this particular case each row will have one element
with full name of an employees.
                List<List&lt;?>> r = cursor.getAll();
                System.out.println("r= " + r);

But, I want to do some further transaction using this r variable, for which
I want to convert it to int. Please tell me how do I do that?



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Using-sql-query-in-ignite-tp4229.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to