Home » Search

About Enhancer

21-30 of 200Refresh
Forum
18

Enhancement API - NullPointerException

Hi! I am trying to use the Enhancement API from within my application like this: com.objectdb.Enhancer.enhance("my.package.Foo"); However, I get the following NullPointerException: [ObjectDB 2.7.1 ... .objectdb.Enhancer.enhance(Enhancer.java:69) at com.objectdb.Enhancer.enhance(Enhancer.java:90
Forum
18

Custom Classloader: Issues with the Enhancer Agent

); }else{ throw new ClassNotFoundException(); } } } This works great without the Enhancer Agent ... my call to defineClass(), makes the enhancement to the class and loads the modified version in memory ... ()/findClass()/...) as part of the enhancement process, resulting in a recursive call to my custom
Forum
18

Enhancer problem

During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFactory, ie. com.objectdb.Enhancer.enhance("com.fastmodel.fastplan.entities.*"); com.objectdb.Enhancer.enhance("com.fastmodel.fastplan.entities.comm.*"); com.objectdb.Enhancer.enhance
Forum
18

How prevent post-compile enhancement of non entity classes

I have recently moved to post-compile enhancement (from automatic run-time enhancement) using ... the enhancer on entity files. For full project build the following works, by grouping entities ... /objectdb.jar"/>
Result
17

Activation completed successfully!

. Classes that are enhanced by the ObjectDB Enhancer (when using the OEM license) are signed ... only signed enhanced persistable classes - activation by end users is unnecessary.
Manual
17

Database Management Settings

- you should only activate ObjectDB on developer machines. Classes that are enhanced by the ObjectDB Enhancer ... . Therefore, when ObjectDB runtime is bundled in a product that uses only signed enhanced persistable classes - activation by end users is unnecessary.
Result
17

What is new in ObjectDB 2.0?

optimization engine. Detach / Attach. Support of persistent classes that are not enhanced. Improved ... trips in JDO bulk operations (e.g. refreshAll). JDO Enhancer supports enhancing of complete JAR files.
Issue
17

Enhancer option -s works not as expected

We found a bug in the enhancer with the option -s . Given structure: com |- btc |- |- base ... |- |- |- |- subpackage |- |- |- |- |- Entity2.class   ... com.objectdb.Enhancer -noaware -s com.btc.base.impl.* Entity1 and Entity2 enhanced as expected. ... com.objectdb.Enhancer
Forum
17

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

#6 enhancer.agent] Not Enhanced: com/example/ejb/query/__EJB31_Generated__ExampleQuery__Intf__: com ... .objectdb.o.SCM.w(SCM.java:455) ... 76 more Severe: [2016-10-30 09:16:46 #6 enhancer.agent] I am using post-compile ObjectDB enhancement in an Ant script that targets folders with @Entity classes
Forum
17

Request clarification of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations

were made to the way enhancement treats getters and setters (property accessors), namely there are no longer enhanced additional getters/setters, because the additional methods now use (since about version 2-6-5 ... for various tasks, including for diagnosing whether enhancement has indeed taken place, leading