Re: AW: Help: getting NPE at ObjectStoreGraphDiff.preprocess

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Mar 07 2007 - 08:39:04 EST

  • Next message: jerome moliere: "Improvement ? code generation (templates)"

    On Mar 7, 2007, at 9:19 AM, Peter Schröder wrote:

    > i am not quite sure, but i think that you have to use
    >
    > context.createAndRegister(MyType.class);
    >
    > instead of
    >
    > context.newObject(MyType.class);

    No, the two are equivalent. In fact the first (older) form is
    deprecated in 3.0

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Mar 07 2007 - 08:39:41 EST