RE: Add getHashCode() to CayenneDataObject?

From: Gentry, Michael \(Contractor\) ("Gentry,)
Date: Wed Jun 21 2006 - 12:57:40 EDT

  • Next message: Kevin Menard: "Re: Add getHashCode() to CayenneDataObject?"

    Already have one. I've added it for testing now. Just thought it might
    could be useful to others down the road, too. (for convenience)

    Thanks,

    /dev/mrg

    -----Original Message-----
    From: Andrus Adamchik [mailto:andru..bjectstyle.org]
    Sent: Wednesday, June 21, 2006 12:56 PM
    To: cayenne-de..ncubator.apache.org
    Subject: Re: Add getHashCode() to CayenneDataObject?

    On Jun 21, 2006, at 8:53 PM, Gentry, Michael ((Contractor)) wrote:

    > So, would it make more sense to add a getHashCode() (which is just an
    > OGNL friendly cover method) to CDO or to customize my templates? :-)

    I suggest you use a common superclass for all your DO's (DataMap ->
    Custom Superclass) instead of putting it in Cayenne or the template.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Jun 21 2006 - 12:58:04 EDT