Re: Obj Entity loses capitilization on attributes

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Feb 21 2003 - 11:08:38 EST

  • Next message: Duran Zuloaga Alfredo: "RE: Disable link DataMap to Object (modeler)"

    > Hi all,
    > Using Cayenne 1.0a6.
    > When I reverse engineer my db schema, all DB Entities have the correct
    > capitalization for columns. In other words, if a column in my Patient
    > table is "lastName", then the DB Entity Patient also has an attribute
    > "lastName", however the Obj Entity Patient loses the capitalization and
    > has attribute "lastname"
    >
    > Is there a configuration or setting that is causing this? I upgraded
    > from a previous version of Cayenne (1.0a5). Is it possible some local
    > preference file is funky?

    No, I suspect this is a bug in the algorithm used. Basically we mostly
    handled naming conversion in the form "abc_xyz_123", but DbAttributes
    capitalized correctly in the beginning are probably messed up by this
    procedure. Need to submit this as a bug...

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Feb 21 2003 - 11:08:38 EST