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 types.
Like the Load Time Enhancement.
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.
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.
Is this related to the new -noaware option? If not, please use a new thread.
It is not related to the new -noaware option. I will use a new thread.