I believe in Cayenne 1.1.2 it will throw an exception stating an object
is not in the current DataContext. In Cayenne 1.2, the new object will
be automatically registered to the DataContext in which the registered
object is registered to.
-- SeanGili wrote:
> Hi, > > I register an object with a dataContext, and point one of its > attributes at a non-registered object. When it comes time to > dataContext.commitChanges() will Cayenne automatically register the > associated object for me? or will it throw an exception and require me > to explicitly do the registration? > > Thanks, > Gili
Send instant messages to your online friends http://asia.messenger.yahoo.com
This archive was generated by hypermail 2.0.0 : Mon Sep 05 2005 - 02:33:02 EDT