db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join

TP/TA with .NET 1.1 (6.4 Stable)

  •  06-23-2008, 09:58 AM

    TP/TA with .NET 1.1 (6.4 Stable)

    I'm having some problems integrating the TP/TA framework to work on my .NET 1.1 data model.

    My data model contains very complex deep graphs objects and relations. I enhance the DLL using Db4oTool, added the TransparentActivationSupport to the object container as well, but nothing seems to be persisting/activating properly. When adding a listener to the activation diagnostics here's what it logs:

    An object of class [Class name], [DLL name] was stored. Instances of this class very likely are not subject to transparent activation. Use a TA aware class with equivalent functionality or ensure that this class provides a sensible implementation of the Db4objects.Db4o.TA.IActivatable interface and the implicit TA hooks, either manually or by applying instrumentation.

     Note that most of my deep structured relations uses ArrayLists, Hashtables and native arrays. Should I change their declaration type manually, if so then to what and shouldn't the Db4oTool instrumentation handle this.

    Any help would be really appreciated as we are now in the phase of evaluating db4o as the persistance manager for a big project and using the int.MaxValue as an activation depth does work but the performance is not what we've expected.


    Regards,
    Mohamed El-Shinnawy.
View Complete Thread