Jump to content
Changes to the Jaspersoft community edition download ×

HOW TO PASS PARAMETERS FROM MULTISELCT LIST OF JASPER SERVER REPORT TO ORACLE STORED PROCEDURE?


mithilaupadhya_1

Recommended Posts

                                  I HAVE TRIED USING  DIRECT QUERY BY DEFINING  PARAMETER IN REPORT AS COLLECTION AND USED "WHERE v_name $X{IN, columnName, paramName}". 

THIS WORKS FINE. BUT FOR A STORED PROCEDURE THIS CANT BE USED . I HAVE ALSO CONVERTED COLLECTION TO STRING AND USED IN PROCEDURE BUT MULTISELECT VALUES WONT REFLECT.

I NEED TO PASS THESE VALUES FROM JASPER SERVER REPORT TO ORACLE STORED PROCEDURE ALONG WITH IN CLAUSE.

 

EX :  INSIDE A STORED PROCEDURE I NEED TO USE A QUERY : SELECT * FROM DEPARTMENTS WHERE ID IN ('A','B','C') WHERE A,B,C ARE SELECTED VALUES IN MULTISELCT LIST OF REPORT

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...