|
Re: pass a connection object to BIRT [message #92091 is a reply to message #91950] |
Thu, 17 November 2005 10:53  |
Eclipse User |
|
|
|
Stefano,
M2 has an added feature that allows you to pass in an app context, which
could be used to pass in a connection handle. On the Engine Task there is a
method called setContext which takes an Object parameter to do this. I dont
believe this context is used in the JDBC driver yet. This method was put in
to pass Object data to the ODA layer. This would allow an ODA developer to
use this context for quite a few things.
Sorry for the long winded explanation. The short answer is, I dont think
what you want is in there yet.
Another option is to use a scripted data source and pass in object using the
engine API.
task.addScriptableJavaObject("DBHandle", DBHandleInstance);
then in the scripted DS reference this object to make your connection and
query. The problem with this approach is you have to do quite a bit of
scripting and you dont have the GUI to build your query.
Jason Weathersby
BIRT PMC
"Stefano Zaccaria" <szaccaria@cedacosrl.it> wrote in message
news:dli2s4$qp4$1@news.eclipse.org...
> Is possible pass a connection object to BIRT ?
|
|
|
Powered by
FUDForum. Page generated in 0.02901 seconds