Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » pass a connection object to BIRT
pass a connection object to BIRT [message #91950] Thu, 17 November 2005 14:08 Go to next message
Stefano Zaccaria is currently offline Stefano ZaccariaFriend
Messages: 48
Registered: July 2009
Member
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 15:53 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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: Mon Jul 08 14:29:39 GMT 2024

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

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

Back to the top