About Enhancer

manual

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 ...

 
manual

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 ...

 
tutorial

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 ...

 
tutorial

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 ...

 
forum_thread

Post-compilation enhancement vs Automatic Run-time enhancement

We are getting massively different results on field loading between explicit post-compile enhancement and automatic run-time enhancement. Testing exactly where and when the results are different for our demo web app is a very time consuming task, and very difficult, it means testing literally 100s of user interfaces (noting we get different results OUTSIDE THE JAVA SERVER FACES BACKING BEAN LAYER depending on the enhancement stragegy). Can you please explain how this could possibly be so ? #1 2014-09-17 22:23 We are getting massively different results on field loading between explicit post-compile enhancement and automat ...

 
forum_thread

Cascading (persist) with a mix of enhanced and not enhanced entities

We find out that it is actual not possible to use enhanced and not enhanced entities together. Exist any limitations regarding the use of enhanced and non-enhanced entities? We work based feature and want to load other bundles as an artifact from the Nexus. These are always enhanced. To enhance the entities during development is, because of our build environment, very time-consuming. Unfortunately, we can not reproduce this with a small example until now. Sometimes it works. #1 2015-05-28 06:29 We find out that it is actual not possible to use enhanced and not enhanced entities together. Exist any limi ...

 
issue

Enhancer option to enhance all persitable types

Hello, can you add an option to the Class Enhancer to enhance all persistable types and ignore the NON persistable types. Like the Load Time Enhancement. ... Hello, can you add an option to the Class Enhancer to enhance all persistable types and ignore the NON persistable ... A new argument (undocumented yet) was added to the Enhancer in build 2.6.2_06: > java -cp objectdb.jar ...

 
manual

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 ...

 
forum_thread

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 ...

 
forum_thread

Possible cause for "Enhancement of type ... is old and cannot be used"

We get the following log: ... the package com.btc.ep.requirement.bl.internal.* to the enhancer. But what is a possible cause for the messages #1 and #3 ...