Jump to content

$X{IN, <column_name>, <parameter_name>} very slow


erik.dittert

Recommended Posts

Hi,

i use $X{IN, <column_name>, <parameter_name>}$X{IN, <column_name>, <parameter_name>} in my querys. But its very slow (3-5 Minutes to generate a report).

when i changed it to:

where id in ($P!{list})[/code]

and use a parameter:

$P!{list} =  org.springframework.util.StringUtils.collectionToCommaDelimitedString($P{list_ids})

its much faster (10 seconds)

 

Did you know why?

 

Thx!

Link to comment
Share on other sites

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