Jump to content
Changes to the Jaspersoft community edition download ×

Is there a possibility of passing multiple parameters in the stored procedure query?


santoshtheprofessional

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I have created below procedure :

CREATE OR REPLACE PROCEDURE prc_JasperEmployeeData(LoggedInUserName varchar2,LoggedInFullName varchar2, emp_cursor OUT sys_refcursor)
IS
BEGIN 
OPEN emp_cursor 
FOR SELECT username,fullname FROM jiuser where username =LoggedInUserName and fullname=LoggedInFullName;
END;
/

and from Jaspersoft studio called the procedure as below

{call emplist_proc($P{LoggedInUserName},$P{LoggedInFullName},$P{emp_cursor})}

 

This returns the value as expected. You may have manually create fields to get the values.

Link to comment
Share on other sites

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