String mainQuery = "select x as CONDITION_"+i+" from xyz";
  SQLQuery sqlQuery = this.getSession().createSQLQuery(mainQuery);
from this query i will get allias column like
  CONDITION_x
  ------------
  value_x(anything)
here x is int value it will increment 0,1,2...
From this i want Json like ,
 [ 
   { 
     "CONDITION_0" :"value",
     "CONDITION_1" :"value"
   }
 ]
And this is in spring hibernate. Please help,TIA.