Re: DataContext.registerNewObject() vs. entityResolver

From: Holger Hoffstätte (
Date: Mon Nov 18 2002 - 10:19:46 EST

  • Next message: Andrus Adamchik: "Re: Callback methods [Was: createPermId in DataContext]"

    talking to myself some more:

    > I could:

    - keep register(DataObject)
    - keep the register(DataObject, String) method deprecated
    - create register(DataObject, ObjEntity) instead

    This would force people to look up an entity once and keep it around
    consciously instead of using Strings everywhere. A simple sanity check
    would prevent people from passing an Artist DataObject together with the
    Painting ObjEntity.

    This makes way too much sense, somebody please tell me I'm missing
    something :)


    This archive was generated by hypermail 2.0.0 : Mon Nov 18 2002 - 10:20:18 EST