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

Mismatch between jasper and workbench.


db2907

Recommended Posts

Hi there,

 

I am trying to create a Report in Jasper Studio that uses a SP of a mysql database. When I see the result present in Workbench, this is different to the one present in Jasper's preview.

 

The store procedure receives 2 dates and one integer as inputs. I have tried with different formats in Workbench for the value of the dates: 

'2016-01-01 00:00:00'

'20160101'

20160101

And I am getting the same results with all of them.  

 

Untitled(12).jpg.bf38e070dc54f73d61adc74a6c7dba43.jpg

 

However in Jasper the result is another. In this report I am using parameters, and even when I have changed the type of value (Integer, String). I can not make it to coincide with workbench. As you can see, the value for Att1 is missing.

 

The thing is that I can not see the definition of the SP because of a permission issues.

 

I just wonder what can  I do to fix this. I think this is related with the fields of type Date.

 

Regards.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

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