cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Registering Objects
Date Wed, 17 Feb 2010 09:13:06 GMT

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


Mime
View raw message