I'm using the Adhoc Editor of JasperServer PRO. I created a topic in JasperStudio where the sql is simply select createdate, id from table. The createdate has a field type date and the database is running in MySQL 5.0.24. When I create the an adhoc report, I am able to drag the fields. But when I ran the report, I get the error below. This seems to be a weird error and it is referring to the createdate data. Anyone knows how to go around this? com.jaspersoft.jasperserver.api.JSException: DataSetIterator.getObject(Date) returned a class java.util.Date, expecting a java.sql.Date