Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to change ODA Data Source 'Connection &Profile Name' at runtime?(ODA Data Source properties)
How to change ODA Data Source 'Connection &Profile Name' at runtime? [message #1004749] Wed, 23 January 2013 19:56
Brian Graham is currently offline Brian GrahamFriend
Messages: 1
Registered: January 2013
Junior Member

In my Connection Profile Store I have 3 JDBC connections defined (DEV/QA/PROD), all residing within the same connection profile store.

The ODA Data Source property 'Connection &Profile Name' changes as I select either the DEV, QA or PROD JDBC connections in the the Designer. This is fine, and allows me to easily switch environments during report development.

I notice in the Data Source Explorer there are also 'Common Properties' that can be user-defined for each JDBC Data Source.

A couple of questions:

1. How do I set the datasource 'Connection &Profile Name' property programmatically, for example in the 'Before Open' script for the data source? Note that I do not want multiple connection profile stores; I want just one connection profile for as many of the DEV/QA/PROD environments I use.

2. How can I programmatically access the Name or Description properties from the Common Properties? I'd like to print the values in the report header, so folks will know where their data are sourced from when reading the report.


Previous Topic:aggregation doesn't work
Next Topic:Display character limit + Freeze header on table
Goto Forum:

Current Time: Thu Dec 09 05:31:55 GMT 2021

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

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

Back to the top