Re: Improvement ? code generation (templates)

From: Juergen Saar (juerge..saar.org)
Date: Thu Mar 08 2007 - 02:54:25 EST

  • Next message: Török Péte: "Deleting a data row?"

    I can't see why you don't implement your own template.

    I use my own template since starting my project, because I found it useful
    to have some additional getters and setters ...

    Some central functionality we have implemented in our DataObject-Class
    derived from CayenneDataObject. Perhaps this would be helpful for you too.

    --- Juergen ---

    2007/3/7, jerome moliere <jerome.molier..mail.com>:
    >
    > Hi all, rather than using custom templates could we imagine to change
    > current templates while adding
    > something like the Commons Lang
    > EqualsBuilder/HashCodeBuilder/ToStringBuilder in order to get self
    > explanatory
    > logs and quick sorts on Java Collections filled with Cayenne objects ? It
    > may also avoid some clever bugs in client code (not in Cayenne)..
    >
    > If help required I may find some time to do that...
    >
    > Regards
    > Jerome
    >
    > --
    > Jerome Moliere - Mentor/J
    > http://romjethoughts.blogspot.com/
    > auteur Eyrolles
    >



    This archive was generated by hypermail 2.0.0 : Thu Mar 08 2007 - 02:55:41 EST