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)
Data types in ODA driver
devp
Hi <br />
Is it possible to expose a custom data type using a ODA driver? For example if I have a POJO like this:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
public class A
{
private B variable;
public B getVariable()
{
return variable;
}
}
</pre>
<br />
Now if I want to expose 'variable' as one of the attribute/column of this class is this possible?<br />
<br />
Thanks !!<br />
devp
Find more posts tagged with
Comments
mwilliams
Hi devp,
Are you sure you need a custom data type? The code you listed there looks like you could use a scripted dataSource rather than an ODA driver. Maybe I'm just not understanding what you're looking for. If I'm wrong, could you please describe more what you're looking for?
Virgil Dodson
Hi devp,<br />
<br />
There is an example report design that uses a similar Java object with the Scripted Data Source in the DevShare area of this site.<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/devshare/designing-birt-reports/255-birt-scripted-datasource-example-design/'>http://www.birt-exchange.com/devshare/designing-birt-reports/255-birt-scripted-datasource-example-design/</a>
;
devp
Thank you all for replying. I do not necessarily need ODA data source. My requirement is to enable the user to choose from a set of related entities and generate a report.
I will take a look at the tutorial.
Thanks again.
Best Regards
devp
devp
Just in case I was not very clear in my earlier post. I would like the user to to choose attributes of a set of related entities. Taking the same example as earlier. If one chooses A then B should be shown as an attribute and one should be able to choose attributes of B as well to create a report. I need this to expose 'business objects' to business users.
The example although shows how to use scripted ds, does not really shows the use of related entities. The book 'Integrating and Extending BIRT' gives a rather cursory treatment. Any other source to learn from?
Thanks and Best Regards
devp.