[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: Dynamic DB Connection

I've never actually had to do this, but I assume you can do something programtically like set the connection in the app context, then pull that using an event handler, and parse the Connection object and build your Data Source manually. You wouldn't have to use a Scripted Data source, but its about the same level of effort. Might be easier to modify the existing JDBC ODA to handle this.

Might even be possible to add in the 2.3 JDBC ODA under a different plugin name and use those since they already have the fix and still keep the 2.2 engine. Not sure though, there have been some significant changes since 2.2.0, but it'd be worth a try. Only thing you have to lose in trying is time and effort.
Without knowing all the details, and assuming your pretty limited due to being a production environment, not sure how your gonna get away with updating one of the plugins either.


John

Shomy Jose wrote:
Is there any way to pass Connection to BIRT report runtime? Using BIRT 2.2.0.