ObjectDB ObjectDB

Issue #1683: 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.

edit
delete
#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
edit
delete
#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.

edit
delete
#4

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

 

ObjectDB Support
edit
delete
#5

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

edit
delete

Reply

To post on this website please sign in.