Re: Registering Objects

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Feb 17 2010 - 04:13:06 EST

  • Next message: Borut Bolčina: "Re: Loading data maps from JARs"

    On Feb 17, 2010, at 10:49 AM, Nishant Neeraj wrote:

    > 1. If I try to register an already registered DataObject, will it
    > create duplication?

    No, DataContext handles this case correctly.

    > 2. If I create a new object Using DataContext.newObject(..), and
    > then don't modify the newly created object. Will it create a new DB
    > entry on commitChanges()?

    Yes. The object will be committed.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Feb 17 2010 - 04:13:46 EST