Jump to content

postgres Stored procedure Multiple ResultSets were returned by the query - How do i map the result of the postgres stored procedure result into my JRXML file fields


ms.jobid

Recommended Posts

<parameter name="refcursor" class="java.sql.ResultSet" isForPrompting="false"/>

<![CDATA[call rsccc.jrxmltest6('file_id'::refcursor);FETCH ALL IN "file_id";]]

Caused by: org.postgresql.util.PSQLException: Multiple ResultSets were returned by the query.

    at org.postgresql.jdbc.PgStatement.getSingleResultSet(PgStatement.java:259)

    at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:138)

 

How do i map the result of the postgres stored procedure result into my JRXML file fields

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

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