hi, my very bad problem is, that I have another property value by this Set method if I would not use it ...
the if (Arg '= ##this) is just a change in the convention - the object root types should no more poit to them self (as thei did in the old data - to be migrated) so if there is not ObjectType set - you have an top level one. but I think that should not be the problem - or should it look like [EMAIL PROTECTED] if I set it to "" ? and the Tree is just a list of ID's - if you imagin a class tree then this TypeTree just stores a list of IDs for each Class super classes... classA - classB - classC .... classXYZ classA: Type="", TypeTree="" classB: Type="classA", TypeTree="classA" classC: Type="classB", TypeTree="classA,classB" ... classXYZ: Type="classX", TypeTree="classA,classB,classC,....classX,classY" - so when you have classXYZ you know all super classes without query lets call it a poor man's class management - if you use a bitmap index in oracle and sql select in - and do a lot of programming work, you will get a data driven like oo data system... that is what I would like to migrate to cache. or should I set it to Arg.%Id() ? the other columns look - at least in the swl manager - as if there is only an ID, and there is an implicite type casting on (super) Set and Get ??? I will start to try this, would be kind to hear of you if you have any idea in the mean time ... brg werner "Ram�n Jim�nez" <rjimenez@@@cicla..com...do> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Werner, > > > > Method ObjectTypeSet(Arg As ObjectType) As %Status > > { > > if (Arg '= ##this) {set i%ObjectType = Arg } > > else { set i%ObjectType = "" } > > Why if Arg = ##this do you set ObjectType to a null OREF? > > > In the SQL manager the entries looks like: > > > > [EMAIL PROTECTED] - for the ObjectType, just as you do a write on the > > console ... > > That's weird. > > > I need the set i%ObjectType = Arg to avoid a recursion... > > Indeed, you need to set it like that. > > > hope you see the mistake ! > > Not just yet :) But let me fully understand the logic of the ObjectTypeSet() > method and I may be better set to help. > > Ram�n > >
