Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to Connect to dynamic datasource using jdbc datasource
How to Connect to dynamic datasource using jdbc datasource [message #727359] Wed, 21 September 2011 00:52 Go to previous message
cbr125x  is currently offline cbr125x
Messages: 34
Registered: July 2011
Member
Hi All,
can somebody help me?
how to connect to dynamic database in BIRT using JDBC connection?
i found that in scripted datasource example, the example using class as the datasource but i want the jdbc datasource but it's dynamic.

i will explain the condition :
let's say i have a parameter named "DBPARAM".

in the beforeOpen events in datasource we put script :
if DBPARAM = "beta" then
The datasource connect to "serverBeta"
else
The datasource connect to "serverAlpha"

can we do this programmatically or must be in designer or how should i do to accomplish that condition?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Replace total.count() aggration method
Next Topic:Eclipse debug perspective issue with required report parameters
Goto Forum:
  


Current Time: Thu May 23 02:00:02 EDT 2013

Powered by FUDForum. Page generated in 0.01737 seconds