Hello All,
Is it possible to pass dynamic query to Ibatis and get the record from it?
E.g. I built my query using StringBuilder and at last, I got the following query "select emp_id, emp_name from employee where emp_id==1" . Now i need to pass this complete query to Ibatis and get the record.
Note: Here the number of columns and where conditions will vary on each query formation
EDIT: How to pass the query to Ibatis and get it executed using ibatis?