-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: BiRT Reporting tool and hibernate
PostPosted: Tue Aug 23, 2005 11:16 pm 
Newbie

Joined: Fri Oct 08, 2004 3:14 am
Posts: 10
Has anyone managed to get BiRT to recognise hibernates objects?

This would be a powerful union of functionality if so.

Currently we are having to use hibernate to get data, turn it into a CSV and then to load that in BiRT to get desired effects which is not the best answer.

Otherwise we have to drop to SQL to get anything happening which means the time invested in the ORM is wasted.

My thoughts:

Write a JDBC driver for hibernate!!! Everything recognises JDBC.
Write a specific datasource plug-in for BiRT.
Something else?


Top
 Profile  
 
 Post subject: Custom data source perhaps
PostPosted: Wed Aug 24, 2005 1:18 am 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
BiRT will provide a way to have custom data source
http://eclipse.org/birt/deploy/#extensions

If you want to use something like that right now you may take a glance at JasperReport and its BeanDataSource, JasperReport works just fine with collections of objects (returned by Hibernate or not) - maybe you should give try that tool a try
http://jasperreports.sourceforge.net/tu ... tml#source

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
 Post subject: Not available yet
PostPosted: Wed Aug 24, 2005 5:52 am 
Newbie

Joined: Fri Oct 08, 2004 3:14 am
Posts: 10
Its not there yet:

The Scripted Data Source (Not yet available.)
The scripted data source and data set elements allow you to access custom data sources directly

Also the only example (a greek guy) is a bit long-winded. Not to be used I think.

I am looking at the source for org.eclipse.birt.report.data.oda.flatfile which I may be able to create a hibernate driver from.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.