| RE: [birt-news] Can we set DataSource Connection parameters at run timeUsing Birt API |
|
Please post "How To" questions on the BIRT Newsgroup. The newsgroup has a large number of contributors who have used BIRT to perform many different tasks. This mailing list is reserved for notifications to BIRT users about BIRT milestone and stable builds and other noteworthy information. You can access the newsgroup by following the instructions on this page: http://www.eclipse.org/newsgroups/ From: birt-news-bounces@xxxxxxxxxxx [mailto:birt-news-bounces@xxxxxxxxxxx] On Behalf Of Ashwin Patil Sent: Thursday, November 10, 2005 2:13 AM To: birt-news@xxxxxxxxxxx Subject: [birt-news] Can we set DataSource Connection parameters at run timeUsing Birt API Hi All Is it possible in Birt to Set the JDBC connection Parameters at run time Usinb Birt API .As we have to write the datasource details in .rptdesign file while designing the report as follows: <property name="odaDriverClass">oracle.jdbc.OracleDriver</property> <property name="odaURL">jdbc:oracle:thin:@xxxx:1521:aaaa</property> <property name="odaUser">aaaaa</property> <encrypted-property name="odaPassword">bbbbbb</encrypted-property> I Just wanted to know How to set these parameters at run time Programatically using Birt API .I dont want to set them in the .rptdesign xml. I want to set them while running the report.Is it possible ?If it is possible please let me know?I want to pass the connection details to the BirtEngine at run time .waiting for the Reply. Thanks in advance . Regards Ashwin Patil |