About Enhancer
JPA / JDO Class Enhancer
The Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. ObjectDB Enhancer is a post compilation tool that improves performance by modifying the ... classes should need to be enhanced. The enhancer silently ignores any specified class that does not need to be ... Command Line Enhancement ObjectDB Enhancer is a Java console application. It is contained in the objectdb.jar ...
Entity Management Settings
Explains settings and performance tuning of JPA entities in ObjectDB, the fast Java object database for JPA/JDO.... value is "true" or "false" ) specifies whether the Enhancer Agent should be loaded to enhance persistable types on the fly, even ...
Step 3: Add a Context Listener Class
Explains how to add a servlet context listener (to manage an application scope EntityManagerFactory) in an Eclipse Web Application.... e ) { com. objectdb . Enhancer . enhance ( "guest.*" ) ; ... } The code above: Invokes the Enhancer to enhance the entity class and creates an EntityManagerFactory ...
Step 3: Add a Context Listener Class
Explains how to add a servlet context listener (to manage an application scope EntityManagerFactory) in a NetBeans Web Application.... e ) { com. objectdb . Enhancer . enhance ( "guest.*" ) ; ... } The code above: Invokes the Enhancer to enhance the entity class and creates an EntityManagerFactory ...
Chapter 5 - Database Tools and Utilities
Describes the ObjectDB object database tools - the Explorer, the Server, the Enhancer, the Doctor and the Replayer.... Explorer Database Server JPA / JDO Class Enhancer Database Replication and Clustering Online Backup ...
enhanced object .. NOT enhanced
Hi I think I have found a bug : - I have enhanced a class but when I tried to persitst it I got an error that this class has not been ehanced (what is important, this class has _odbTracker field added) So, instead of DB write a standard serialization mechanizm is triggered. Finnally we get an OutOfMemory expeption. b #1 2011-08-08 08:22 Hi I think I have found a bug : - I have enhanced a class but when I tried to persits ...
ODB 2 JDO enhancement
If I label a class @PersistenceCapable do I still need to explicitly enhance? Do I need a package.jdo file? This question relates to experiences with ODB 1, in which one has to: a) create a package.jdo, and b) run the Enhancer In my experience, using this with Tomcat, and running the enhancer in the contextListener class, there would often be errors relating to 'class not persistent capable'. So, in ODB 2 is there a way to mark a class as @PersistentCapable, and then let ODB take care of enhancement automatically?... a) create a package.jdo , and b) run the Enhancer In my experience, using this with Tomcat, and running the enhancer in the contextListener class, there would often be errors relating to ...
Compile time enhancement using build.xml of a Netbeans web application
Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2.3 manual gives the following tip: ... tip: <java classname = "com.objectdb.Enhancer" fork = "true" classpath = "c:\objectdb\bin\objectdb.jar" ... > <echo message = "begin ObjectDB enhancer" /> <java classname = "com.objectdb.Enhancer" ...
Maven driven compile time ehnancement
Hi, Just thought I'd share a small bit of Maven config to aid in enhancing persistent classes during compile time. Just add the following to your pom.xml: ... > <mainClass > com.objectdb.Enhancer </mainClass > <!-- List of your packages --> ... @ project-domain --- [ ObjectDB 2.2.2 Enhancer ] 4 persistable types have been enhanced: com.x.y.a.AB ...
Enhancer problem
During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFactory, ie. ... During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFactory, ie. com. objectdb . Enhancer . enhance ( "com.fastmodel.fastplan.entities.*" ) ; com. objectdb . Enhancer . enhance ( "com.fastmodel.fastplan.entities.comm.*" ...