Re: Subclassing a DataObject

From: Kevin Menard (kmenar..ervprise.com)
Date: Thu Jun 30 2005 - 17:21:44 EDT

  • Next message: Kevin Menard: "Re: Subclassing a DataObject"

    Michael Gentry (Yes, I'm a Contractor) wrote:
    > Is there a reason you don't want to put your static variable in the normal
    > class (the non-underscore one)? Cayenne wouldn't try to persist that value
    > for you since it doesn't know about it.

    Yeah, in practice the value that static var represents is being fed by
    another layer in this network-like structure. So, for my tests, I'm
    simulating the values, which must be unique. Like I said, I could pull
    it out trivially, but then each of my test cases has to handle setting
    this up, which is a bit of a pain.

    Oh well, c'est la vie.

    -- 
    Kevin
    



    This archive was generated by hypermail 2.0.0 : Thu Jun 30 2005 - 17:21:46 EDT