Re: Passing argument in sql query under where clause giving error

2016-04-14 Thread vkulichenko
No, SQL is read-only now. Support for UPDATE and INSERT statements is on the roadmap, though. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Passing-argument-in-sql-query-under-where-clause-giving-error-tp4164p4184.html Sent from the Apache Ignite Users

Re: Passing argument in sql query under where clause giving error

2016-04-14 Thread tusharnakra
Thanks it works now! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Passing-argument-in-sql-query-under-where-clause-giving-error-tp4164p4176.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Passing argument in sql query under where clause giving error

2016-04-14 Thread tusharnakra
message. * * @param msg Message to print before all objects are printed. */ private static void print(String msg) { System.out.println(); System.out.println(">>> " + msg); } /** * Prints query results. * * @param col Query results. */ private static void print(Iterable col) { for (Object next : col) System.out.println(">>> " + next); } } The sqlFieldsQueryWithJoin method works fine, but the sqlQuery method gives the error. How to fix it please? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Passing-argument-in-sql-query-under-where-clause-giving-error-tp4164.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.