Skip to main content



      Home
Home » Archived » BIRT » pass a connection object to BIRT
pass a connection object to BIRT [message #91950] Thu, 17 November 2005 09:08 Go to next message
Eclipse UserFriend
Is possible pass a connection object to BIRT ?
Re: pass a connection object to BIRT [message #92091 is a reply to message #91950] Thu, 17 November 2005 10:53 Go to previous message
Eclipse UserFriend
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 ?
Previous Topic:barchart(stacked,sidebyside) problem
Next Topic:large datasets in birt
Goto Forum:
  


Current Time: Sat May 03 01:32:33 EDT 2025

Powered by FUDForum. Page generated in 0.02901 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top