Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [birt-dev] How to create a datasource

Hi,

You need to create an oda-data-source. We have jdbc data source oda extension plugin that you can use. 

ElementFactory :: newOdaDataSource("youDataSourceName", "org.eclipse.birt.report.data.oda.jdbc");

Then you will get the OdaSourceHandle and set the properties.

Thanks!
 
Ivy 
 
Actuate Software ShangHai center.
498 Guoshoujing Rd.Bld 3.Suite 3301. shanghai,201203
Tel: (86)21-50270900 ext:257
Fax:(86)21-50270901
Email: yli@xxxxxxxxxxx
 

-----Original Message-----
From: birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andres Felipe Gomez Mondragon
Sent: Sunday, July 10, 2005 3:23 AM
To: birt-dev@xxxxxxxxxxx
Subject: [birt-dev] How to create a datasource

Hello, I need your help.
I need to create a datasource using java code but i dont know how to write 
the datasource with the properties like driverclass, url,  user, password 
and the metadata with a query like "select code, description from conexion".
After the results i´ll show in a table.

Thanks.

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-dev


Back to the top