Re: Modeler - Names at singular after reverse engineering?

From: Jürgen Saar (jsaa..eb.de)
Date: Tue Nov 22 2005 - 05:28:28 EST

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

    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:28:37 EST