Home » Support » Issue Tracking » Enhancer option to enhance all persitable types

Enhancer option to enhance all persitable types

Type: Feature requestVersion: 2.6.2Priority: NormalStatus: FixedReplies: 4
#1

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.

#2

A new argument (undocumented yet) was added to the Enhancer in build 2.6.2_06:

> java -cp objectdb.jar com.objectdb.Enhancer -noaware ...

It should exclude enhancing non persistable types (i.e. persistence aware classes) as in using Enhancer Agent.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#3

Many thanks.

 

We still noticed something that could be a BUG.
Given structure:

com
|- btc
|-   |- base
|-   |-   |- impl
|-   |-   |-   |- Entity1.class
|-   |-   |-   |- NonPersistableClass.class
|-   |-   |-   |- subpackage
|-   |-   |-   |-   |- Entity2.class

 

... com.objectdb.Enhancer -noaware -s com.btc.base.impl.*

Entity1 and Entity2 enhanced as expected.

... com.objectdb.Enhancer -noaware -s com.btc.base.*

Entity1 and Entity2 enhanced as expected.

BUT:

... com.objectdb.Enhancer -noaware -s com.btc.*

Nothing enhanced. This we did not expected.

#4

Is this related to the new -noaware option? If not, please use a new thread.

 

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#5

It is not related to the new -noaware option. I will use a new thread.


Post Reply

To post a reply and/or subscribe to update notifications - please login