Go Back   Forum - BIRT Exchange > Deploying Reports Forums > Deploying BIRT Reports in Deployment Kit or iServer Express

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-25-2010, 11:48 PM
Member
 
Join Date: Oct 2008
Posts: 82
Default Problem of different Mysql connectors

Hi,

I test Actuate V11 iServer Express recently, but some reports that work well in A10 sp1 can not work in V11. It is because of the differents connectors.

In A10 sp1, the mysql connector lib used is mysql-connector-java-com-3.1.10-bin.jar, but it is mysql-comm-5.1.7.jar for A11.

So for a simple sql statement "select user_id as id, user_name as name from user".
In A10 sp1, the output column names are id and name, and the display names are id and name too.
But in A11, the output column names are user_id and user_name, and the display names are id and name.

In old reports(work well in A10 sp1 iserver), dataSetRow["id"] and dataSetRow["name"] are used in text fields in a table or other items. But these will result in errors in A11 because there is no fields with names id and name.

So i can not move reports directly from A10 sp1 to A11. I have about 50 reports. Are there any suggestions about how to upgrade these reports?

Note: it is ok for jdbc:classicmodels:sampledb.

Best Regards & Thanks,

Dianbo
Reply With Quote
  #2 (permalink)  
Old 01-26-2010, 01:46 PM
Senior Member
 
Join Date: Aug 2007
Posts: 217
Default

Hi Dianbo,
Please feel free to report any issues for Actuate 11 BIRT products here(still in beta testing phase):
ED Main Page


Ashwini

Last edited by averma : 01-26-2010 at 01:51 PM.
Reply With Quote
  #3 (permalink)  
Old 01-26-2010, 06:58 PM
Member
 
Join Date: Oct 2008
Posts: 82
Default

Quote:
Originally Posted by averma View Post
Hi Dianbo,
Please feel free to report any issues for Actuate 11 BIRT products here(still in beta testing phase):
ED Main Page


Ashwini
Hi Ashwini,

thanks for your response.
I have reported this issue in Redirecting to BIRT Exchange, but got a WONTFIX reply:
"This is caused by MySql driver's change of behavior. I guess you have also
changed your mySql driver when using those two version of BIRT. ..BIRT can do nothing for it ..."

The reason I posted the problem here is to ask for some help to resolve this issue smoothly.

Thanks,

Dianbo
Reply With Quote
  #4 (permalink)  
Old 02-05-2010, 01:17 PM
Super Moderator
 
Join Date: Jul 2007
Posts: 817
Send a message via Yahoo to vdodson
Default

Hi dianbo, Have you tried replacing the newer JDBC driver with the older one? Otherwise, to make quicker work of the changes, you might jot down the fields from the Data Sets that use the 'as' operator... and use the XML Source view of the rptdesign file to quickly find/replace the values you need to change.
__________________
~Virgil
http://twitter.com/birtexchange
Reply With Quote
  #5 (permalink)  
Old 02-12-2010, 02:19 PM
Junior Member
 
Join Date: Sep 2007
Posts: 8
Default

Which Actuate11 build are you using? We have fixed the compatibility issue with BIRT reports running against Actuate MySQL driver in the M12 build (with a post 2009-12-07 build date).

As noted in Issue 96, there has been a change in MySQL driver from version 3.x to 5.x having to do with the names of aliased columns. See the following MySQL bugs for explanation of this change:
MySQL Bugs: #35610: Retrieving values by column label doesn't work
MySQL Bugs: #35150: Inconsistency in column name causes Hibernate to fail.

You will note the effect of this behavior change as you move from Actuate 10 to Actuate 11; however we have made sure that A10 BIRT reports continue to run without change in A11. If you continue to see report compatibility issues using M12 build or later, please report the problem here.
Reply With Quote
Reply


Thread Tools
Display Modes




All times are GMT -7. The time now is 10:58 AM.
Powered by vBulletin Copyright © 2000-2010 Jelsoft Enterprises Limited.


Content Relevant URLs by vBSEO 3.1.0