Re: Modeler - Names at singular after reverse engineering?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Nov 22 2005 - 05:31:19 EST

  • Next message: Andrus Adamchik: "Re: Modeler - Names at singular after reverse engineering?"

    Juergen,

    read the rest of the thread - the solution proposed addresses your
    concerns.

    Andrus

    On Nov 22, 2005, at 1:28 PM, Jürgen Saar wrote:

    >
    > I think it should be possible to switch this logic on/off
    >
    > In our projects the tablenames are often taken from
    > abbreviations. So it could be a problem.
    >
    > ---Juergen---
    >
    > cayenne-use..bjectstyle.org schrieb am 19.11.05 15:10:37:
    >>
    >>> Would it be possible for the CayenneModeler to automatically
    >>> convert the names at singular for Object entities if the table
    >>> name is at plural after a reverse engineering ?
    >>> E.g. table: products -> Object: Product (and javaclass too) or
    >>> product_groups -> ProductGroup
    >>
    >> I tend to agree that we should add this logic to the name conversion
    >> algorithm. Nothing is simple though - this assumes table names in
    >> English ... Any comments from non-English speaking users?
    >>
    >> Of course a better solution would be to have locale-sensitive
    >> algorithm ... oh well.
    >>
    >> Andrus
    >
    >
    > ______________________________________________________________________
    > ____
    > Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-
    > Postfach!
    > Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Nov 22 2005 - 05:31:22 EST