Well, yeah, if you make the Session the delegate of the editing context (which is passed in here)... but why would you want to? The idea of putting the defaults in the EO is so they are the EO's problem... not controller code like your session. Kaj Hejer wrote: > > Hi! > > I have a javaclass that is generated from EOModeler and extends > EOCustomObject. In this clas I want to set the defaultvalues for some of > the attribues with awakeFromInsert(EOEditingContext ec). > > Some of the defaultvalues is stored in the sessionobject. Is it possible to > get values in the sessionobject from a subclass of EOCustomObject? > > -Kaj :)
