Re: it works!!

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Apr 07 2004 - 17:05:36 EDT

  • Next message: Todd O'Bryan: "setting a relationship from the wrong DataContext"

    On Apr 7, 2004, at 10:30 AM, Michele Cuozzo wrote:
    > I'm using a Postgresql adapter and the 1.1M4 cayenne framework, when
    > I set a String property to an cayene Object and the String contains
    > some special character ( such as è,à,ù or similar ) in the modeler
    > generated db the Strings has a '?' character instead of the original
    > special character.
    > Have you got some suggestions?

    In Java unicode support is kind of automatic, so it makes me think that
    PostgreSQL or the driver are to blame here.

    Check PostgreSQL docs to see what needs to be done for the correct
    support of your charset. See if you can insert non-ASCII characters in
    the same table using command line tools, etc. There is also a "charSet"
    parameter in PostgreSQL JDBC URL. I never used it myself but might be
    just what you need.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Apr 07 2004 - 17:05:41 EDT