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

Multi select query with postgres sql


csrinaldi

Recommended Posts

I have a report with one input parameter of type Multi Select Query. The datasource that I'm using is Postgres Datasource.

The control input show fine, and, I select the values without problem but the value selected is not fill in the sql statement , by example:

..... WHERE m.id IN ($1).....[/code]
 
The sql definition in my report is:
... WHERE $X{IN, m.id,motivos} ....[/code]
So, the error is a cast  error (integer = varcharing ). For my, jasperserver not fill the value in the statement with the config value (column value) in the input control definition.
 
Any idea?
 
Thanks
 
 
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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