Jump to content
Changes to the Jaspersoft community edition download ×

Error Executing SQL Statement


pjamack

Recommended Posts

  I'm calling a function from my report(Oracle function) and the function works in Oracle and on Toad. It takes in a few variables, stores data in a temp table, opens and returns a cursor, etc.    All the Parameters and Fields in my JasperReport are set properly.

 JasperReport (Worked on in IReports 4.01) doesn't run in IReports or on JasperReports Server 4.01.  The same error comes up after I input the dates and info.   Always the 

 

com.jaspersoft.jasperserver.api.JSExceptionWrapper: Error executing SQL statement for : Test Report 

etc etc...

 

 What needs to be changed?  I've written simple SQL Queries where I input some dates and returned fields. But with this function and other ones, I can't get any of them to work. They can't seem to execute the SQL.   

I write it as 

(?= call FUNCTION_GROUP.FUNCTION_NAME

(

                            $P{REPORT_START_DATE},

                            $P{REPORT_END_DATE},

                            $P{REPORT_PARAM}

       )

 

not sure what I'm doing wrong.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...