Skip to Content
author's profile photo Former Member
Former Member

Value not displayed correctly when sent through a Java POJO datasource, but is perfect when used with MySQL.

I have this strange problem - A field value is displayed correctly in the crystal report when pulled from MySQL table (field is Varchar(25)). But the same field when loaded into a Java POJO and set the POJO as new datasource the value is garbled up.

Any ideas?

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2007 at 12:13 AM

    Early implementations of the POJO Factory set the default display size to 12, which caused corruption in the display starting from the 12th character when the size exceeded the display size.

    Would you try specifying the MemberColumnDisplaySize property for that column in POJOResultSetFactory to reflect the actual size?

    Sincerely,

    Ted Ueda - Developer Support

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.