Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Using a Java object to access a data source
mgranadino
I'm trying to use a Java object to complete a table in a birt report. But in the scripted data set(fetch metod) the import "importPackage(Packages.MyPackage)" or the instance of the class "var variable = new MyJavaClass()" (where MyJavaClass belongs to MyPackage) doesn't work.
The birt proyect doesn't allow me to add a Java Class. Where can I locate my Java Class??
Thanks,
Maria
Find more posts tagged with
Comments
Virgil Dodson
Hi Maria,
You can create another Java project to hold your Java classes. After doing this, go into the Project Properties for your Report Project and select your new Java project under the Project References area. Now anything in your Java project is visible to your BIRT reports.