Jump to content
Changes to the Jaspersoft community edition download ×

Mulitple values in a Parameter List


rachele51

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

 

You would have to use the $P!{paramName} syntax, because in this case you are actually modifying the query and those are not normal PreparedStatement parameter place-holders.

 

SELECT * FROM table WHERE column IN {nn, nn, nn}

 

would become

 

SELECT * FROM table WHERE column IN {$P!{paramName}}

 

where

 

paramName=nn, nn, nn

 

 

I hope this helps.

Teodor

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