Birt and serialization
Hello,
I need some insight on how birt works. It has come to my attention that when using a scripted datasource, if i asign a java object to a row of my dataset, the object is serialized. I would like to avoid this serialization process as much as possible. What is the origin of this process? Is this the rhino library? Or can I avoid it by writing my own java event handlers?
Thanks
I need some insight on how birt works. It has come to my attention that when using a scripted datasource, if i asign a java object to a row of my dataset, the object is serialized. I would like to avoid this serialization process as much as possible. What is the origin of this process? Is this the rhino library? Or can I avoid it by writing my own java event handlers?
Thanks
0
Comments
-
The object is serialized because of dataSet caching. I think it can be deactivated (have a look at javadoc of DataEngine: http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.birt.doc.isv/data/api/org/eclipse/birt/data/engine/api/package-summary.html) but i m not 100% sure.0
-
Thanks for your reply.<br />
I read on the following bug report (<a class='bbc_url' href='https://bugs.eclipse.org/bugs/show_bug.cgi?id=364631'>bug</a>) that the 3.7.2 version of birt that has just been released would include a flag to disable dataset caching. I couldn't find it in the advanced properties of the dataset. Does anyone knows if it has effectively been implemented and where to find it?0 -
Hi,
it is implemented in 3.7.2.
As mentioned you can find the property when selecting the corresponding dataset and click on the advanced tab in the properties editor.
I attach a screenshot that was made using BIRT 3.7.2 (the option is not available in previous versions)0 -
<blockquote class='ipsBlockquote' data-author="'cbrell'" data-cid="96905" data-time="1330432984" data-date="28 February 2012 - 05:43 AM"><p>
Sorry forgot to add another sentence:<br />
I m not quite sure if it solves your problem because BIRT sometimes decides to serializes data to disc depending on the data volumne of a single dataset (so that you don't run into out of memory issues on large datasets)<br /></p></blockquote>
<br />
Ok thanks for the reply. I saw the parameter on the previous versions, so I was not sure it was the one. I guess birt developers had the change in mind but had not implemented it yet. Can you confirm? <br />
<br />
Thanks anyway, i'll upgrade birt to the 3.7.2 version and test it.0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 105 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management