I am passing a list of Strings to my query(SQL query written) to fetch the required data. But I am getting this exception:
ora-01795 maximum number
you can create a temporary table, and insert the values you want use in your IN statement, and join the temporary table with your real table. more information about temporary tables.
IN