Hi Guillaume
Thanks for the reply. I see this was long ago.
Unfortunately your solution doesn't help me. 1. run the query in a developer app, e.g. SQLWorkbench and test different parameters 2. I have to script replacement of many parameters, at times as many as 16.
SQLWorkbench supports named parameters, although it seems to be variable substitution in the application. DBeaver with the same JDBC driver, supports named parameters, using the :variablename syntax.
What does BIRT do differently with the Postgres driver? The Oracle driver uses the :variablename syntax, Postgres not.
Not strictly what you are after for but you could also use a select as query to use the filters once and then reference in further queries with the correct name. Something like this :
select prompt as ( select filtercol1 from tablex where filtercol1 = ? ) select col1, col2 from tablex where filtercol >= (select filtercol1 from prompt) and filtercol <= (select filtercol1 from prompt) + 10
I use this sometimes as I have reports using the parameter multiple times (up to 12 times). This makes it manageable.