vijay sachin wrote:Hi All I need to convert HQL to SQl Query is there any why I can do it. String HQL_QUERY = "from SubsUsage where IMSI = :IMSI AND serviceID = :ServiceID1"; query = mysql_session.createQuery(HQL_QUERY); query.setParameter("IMSI", cgrMsg.getCgrIMSI()); I want to convert the above HQL Query to SQL query, Please help me how can I do it.