Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Creating BandedMDXDataFactory using Java API

$
0
0
So I am going through the pentaho reporting for Java developers and I would like to add a mondrian datasource to my report. I have run into trouble though. It seems the information in the book may be a bit outdated, as they provide an example of creating a DriverConnectionProvider, filling out a couple properties for it, and than using the DriverConnectionProvider in the the constructor of the BandedMDXDataFactory. I am using the reporting 5.0.0 and was wondering if someone could provide me with a comprehensive explanation of what needs to be done in the newer API. I see a bunch of setters on the BandedMDXDataFactory such as mdxFactory.setJdbcPassword(jdbcPassword) that would seem to take the place of the DriverConnectionProvider.setProperty("JdbcPassword","password"); but I want to make sure I am not missing any thing. So if you know everything that needs to be done to replace the old way of doing it I would be very appreciative. Thanks!

Viewing all articles
Browse latest Browse all 16689

Trending Articles