Hi
i urgently need to build a dynamic query builder using prepared statement
how an a dynamic select query having multiple parameters can be built?
For. e.g. select * from xyz where a=? AND|OR b=? AND|OR c=? where occurence of a,b,c can be known only at runtime from user selection of parameters to the query builder also the parameter types also could vary such as
String, int or a double? also clauses AND or OR can occur in between the parameters. Any Help would be highly appreciated.
thanks in advance.
Chandrashekhar