I am using 5.0.2 version of PRD. For dynamic query scripting we are currently using ECMA script under the query scripting tab of JDBC datasource window of the report designer. Is it possible to replace this by invoking a Java custom class where we will be giving appropriate inputs and return the result set of the query back to the report designer . How can this be achieved?