This project was developed by db4o team to show the functionality of db4o enhancement tools. The idea of the enhancement tools is to use bytecode instrumentation to inject the code necessary for TA and NQ optimization into ready customer classes. More information about it can be found in the Reference documentation.
The example shows both loading time and build time enhancement strategies and is used to implement Transparent Activation awareness in custom classes and optimize Native Queries.
In order to use this example you will need to download the latest development version of db4o.
You can start by looking into tatest.TATestMain class, which contains the runnable code for the example. Persistent classes are located in tatest.model package. tatest.TATestStarter contains the code for loading time enhancement and should be reviewed in order to understand what is happening when a build-time (build.xml) enhancement is used.
Download: