Re: [elephant-devel] Optimization

2008-12-24 Thread Ian Eslick
A couple of quick thoughts on your problem: 1) Are you wrapping the critical sections of your code in with- transaction? This causes all database pages you touch to be cached within the body of the transaction. This avoids all 'sync' operations and transaction setup/teardown caused by a rea

Re: [elephant-devel] Inherited slots don't get persisted

2008-12-24 Thread Ian Eslick
Yes, the standard object slots are 'transient' by default. Any subclass which is persistent inherits the transient semantics so what you are seeing is the right default behavior. The only way to make them persistent is to shadow the old definition with a new persistent definition in the s

[elephant-devel] Inherited slots don't get persisted

2008-12-24 Thread Yarek Kowalik
I have two classes, one an "ephemeral" and one persistent. The persistent class inherits from the ephemeral class. When I copy slot values from an ephemeral instance to persistent instance, only the slots that are redefined in the persistent class get persisted properly, the other inherited slot