Jump to content
We've recently updated our Privacy Statement, available here ×

Support For Stored Procedure


wesleywj2

Recommended Posts

Dear everyone,

 

hello everyone, i've looked through posted sp(stored porcedure )topic and found out that majority stated that the current ireport does not fully support sp by calling it from within iReport's query window. I've attempt to test it by using postgres db's (simple)sp and ireport call it successfully. As opposed by majority said it's not fully supported yet, i'm confused by comparing it with my test result. so my questions are:

 

1. which db's sp not support/support by ireport?

 

2. if not supported on current version, when likely will it be available?

 

thanks in advance and wish to hear from anyone who can provide me an answer and this will be very appreciated.

 

regards, Wesley

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

JasperReports uses a PreparedStatement to execute the query (StoreProcedure). This normally returns a ResultSet (you can not access output parameters because the use of a PreparedStatement instead of a CallableStatement).

 

In Oracle a similar call does not return a ResultSet, so you need to write your own QueryExecuter to make it works.

 

MS SQLServer and Postgres work great.

 

Giulio

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