The problem I am facing now is if I use the date format=iso (in URL), then any date field fetched from DB as a call to SP (using CallableStatement.executeQuery), results in wrong Date (rs.getDate(storedDate)). Say if the date stored is 2003/10/17 (yyyy/mm/dd) - it is fetched as 0510/09/30.
Now if the query from above SP is executed using a PreparedStatement.executeQuery returns correct result.
The main reason for using the date format=iso (in URL), is some of our queries fail (even when PreparedStatement.executeQuery )to retrieve any record which have a date field in select clause. This is sloved by including date format=iso.
I would like to know if there is way to solve this problem and get correct date when CallableStatement.executeQuery is used.