Jump to content

SOLVED: How to create a JNDI service to call a mysql stored procedure


jvway

Recommended Posts

Hi,

I'm actually battling this whole calling a MYSQL stored procedure thing. I see suggestions to make a JNDI service that then calls the MySQL db but I'm having a hard time finding exactly how to create the JNDI service.

In terms of the MySQL SP it does only accept input parameters and returns a sql query.  I've also tried using $P! for string parameters the others are dates.

It works fine in iReport but when run agains the jasper server (v4.7) I get back the wonderfully cryptic "there's a problem contact your administrator" I'd love to but I'm the administrator :).

Attached is the jrxml

Any ideas?

Thanks,

Jerry

Link to comment
Share on other sites

  • Replies 1
  • 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...