Re: Modeler - Names at singular after reverse engineering?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat Nov 19 2005 - 09:10:14 EST

  • Next message: Andrus Adamchik: "Confluence Upgrade Complete"

    > 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



    This archive was generated by hypermail 2.0.0 : Sat Nov 19 2005 - 09:10:19 EST