As it was mentioned before TP uses the same technology as TA. Due to that enhancement strategies and tools are the same for Transparent Persistence. Actually TP enhancement automatically includes TA enhancement, as TP relies on object activation before modification.
On Java side enhancement can be done at build-time by using a customized ant build script. For more information see TP Enhancement On Java.
On .NET side TP enhancement can be done by using command-line Db4oTool or by customizing MSBuild script: