I am trying to pass value for the parameter of type java.sql.Timestamp through Rest service. If i check the jasper server log it throws error as
"Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.sql.Timestamp"
How to pass the value? I am using JSON string in PUT option.
Please refer to JasperReports Server Web Services Guide
"Both date-only and timestamp fields are given in the ISO date-time format such as 1997-01-01T04:05:06+02:00.
"For database columns that store a time and date that includes a time zone, such as “timestamp with time zone” in PostgreSQL, the result is not guaranteed to be in the same timezone as stored in the database. These dates and times are converted to the server’s time zone."