2 Replies Latest reply on Dec 13, 2007 11:10 AM by Derek Chen-Becker

    preupdate on inherited classes?

    Derek Chen-Becker Newbie

      Hi,
      I have a whole slew of objects that are using the preupdate method to update a record timestamp on persist. All of them are working correctly except for a small subset of classes that use inheritance. I've implemented and annotated the preupdate method on the base class and I have three subclasses (all of the base class) that provide their own fields for a single table inheritance model. When I try to persist any of the three, I get an exception that the record timestamp is null. I've been digging through the docs and I thought it said that this should work in an inheritance hierarchy when the preupdate method is in the base class. Did I misread it, or could something else be going on?

      Thanks,

      Derek