Hi,

How to get the field names in select query?

I am using sql api to create tables (Not based on model class because table
and its fields need to create dynamically and its fields more than 100).

Let Assume i want to create a person table it contains more than 100 fields
and  i am creating like bellow with out model class
/ cache.query(new SqlFieldsQuery(
                 "CREATE TABLE Persons (id LONG PRIMARY KEY, name
VARCHAR,jurney date,,,,,,,,,,,,,,) WITH
"template=replicated,CACHE_NAME=Persons)).getAll()/


Query:
-------
Get All The Person Details Based On Person Id And Journey Date

If i use SqlFields query i am not able to get the field names along with the
values.

If i use SqlQuery i need to mention model class 










--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to