About enhancement

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.... the byte code of compiled classes after compilation. Enhancement is mainly for user-defined persistable classes ( entity classes , ... optional. There is one case, however, where enhancement is required. Non persistable classes that access directly (not ...

 
manual

Entity Management Settings

Explains settings and performance tuning of JPA entities in ObjectDB, the fast Java object database for JPA/JDO.... element: <entities > <enhancement agent = "true" reflection = "warning" /> ... describes one subelement: The <enhancement> element The <cache> element ...

 
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. The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory javax.persistence.EntityManagerFactory JPA interface Interface used to interact with the entity manager ...

 
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. The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory javax.persistence.EntityManagerFactory JPA interface Interface used to interact with the entity manager ...

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

 
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. ... to the manual : "There is one case, however, where enhancement is required. Non persistable classes that access directly (not ...

 
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. ... the NON persistable types. Like the Load Time Enhancement. edit ...

 
manual

Chapter 5 - Database Tools and Utilities

Describes the ObjectDB object database tools - the Explorer, the Server, the Enhancer, the Doctor and the Replayer. This chapter explains how to use the following ObjectDB tools and utilities: Database Explorer Database Server JPA / JDO Class Enhancer Database Replication and Clustering Online Backup Database D ...

 
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 ... Using serialization is not the result of no enhancement but of a missing @Entity / @PersistenceCapable annotation ...

 
forum_thread

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

We get the following log: ... log: [ 2015-06-08 13:07:02 #1 type.user] Enhancement of type ... [ 2015-06-08 13:07:02 #3 type.user] Enhancement of type com.btc.ep.requirement.bl.internal.RequirementReferenceImpl ... But what is a possible cause for the messages #1 and #3 "Enhancement of type ... is old and cannot be used". ...