how to define as data source a passed jdbc connection [message #484392] |
Mon, 07 September 2009 07:19  |
Eclipse User |
|
|
|
Hi
I am very new to BIRT and I want to create a sort of "hello world" report.
I'm trying to see how difficult it would be to switch our company's
reporting app from jasper to BIRT.
I have seen the tutorials and all seems great, until I realized I have to
pass the jdbc connection from my app to the report. So in my code I set:
task.getAppContext().put("OdaJDBCDriverPassInConnection", conn);
but then how do I define the data source in the report designer? I imagine
it would have to be a scripted data source, but the given examples suggest
that a scripted data source is a completely different thing.
So - how can I use the connection that I set in the IRunAndRenderTask task?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03523 seconds