|
Re: Use multiple schema in a birt report [message #821032 is a reply to message #820613] |
Wed, 14 March 2012 21:30 |
|
Do you have the schema name in a parameter?
If so you could change it with property binding or a data set beforeOpen
script like:
this.queryText =
this.queryText.replaceAll("SCHEMA_NAME",params["myschema"].value"))
Jason
On 3/14/2012 6:43 AM, Frizz K wrote:
> I want change at runtime schema connection dynamically in a stored
> procedure call, like:
>
> {call SCHEMA_NAME.SPNAME( ?) }
> Where SCHEMA_NAME is definited at runtime
>
>
> PS: I'm using this code to set database connection:
>
>
> IRunAndRenderTask task = engine.createRunAndRenderTask(design);
> task.getAppContext().put("OdaJDBCDriverPassInConnection", connection);
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04619 seconds