You are here: Basics Operations & Concepts > Activation > Transparent Activation

Transparent Activation

Activation is a db4o-specific mechanism, which controls object instantiation in a query result. Activation works in several modes and is configurable on a database, object or field level. For more information see Activation.

Using activation in a project with deep object hierarchies and many cross-references on different levels can make activation strategy complex and difficult to maintain. Transparent Activation (TA) project was started to eliminate this problem and make activation automatic in the same time preserving the best performance and the lowest memory consumption.

With TA enabled, objects are fetched on demand and only those that are used are being loaded.

First take a look at a simple example: See "Transparent Activation Example"

For more information how transparent activation works: See "TA Implementation"

You probably want to automate the process of implementing the required interfaces manually: See "TA Enhanced Example"

Its also possible to mix transparent activation aware object and other objects. See "Object Types In TA"

Collections can be also integrated into the transparent activation framework. See "TA Aware Collections"

Public fields can also integrated with transparent activation to a certain limit: See "TA For Public Fields"

For diagnosis, take a look here: See "TA Diagnostics"

Also take a look at the pitfalls: See "Transparent Activation Pitfalls"