Internal Website Search

1-10 of 200 resultsRefresh

How prevent post-compile enhancement of non entity classes

I have recently moved to post-compile enhancement (from automatic run-time ... enhancer"/> </target> But the following for per-file post-compile enhancement ... ="-post-compile-single"> <loadresource property="compiled"> <propertyresource name

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

public class SubEntity extends Element { On post-compile enhancement I get this error (as ... for the post-compile enhancement the class path is: javac ... vanishes and post-compile enhancement works. webel Dr Darren Kelly It seems like

Post-compilation enhancement vs Automatic Run-time enhancement

is applied only to entity classes, where post compilation enhancement may also enhance non entity ... 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

Compile time enhancement using build.xml of a Netbeans web application

-compile and -post-compile-single. I do not see yet how to relate the manual's example ... -config"> <target name="-post-compile">   <echo message="begin ObjectDB enhancer"/> ... has to be adapted.) However, I want to have a version of this that works with -post-compile

Maven driven compile time ehnancement

to aid in enhancing persistent classes during compile time. Just add the following to your pom.xml: compile</scope> ... ;     <phase>compile</phase>       <goals

Posting Sample Code

To demonstrate a technical question or an issue - you may have to provide a complete runnable sample program. If an unexpected exception (e.g. NullPointerException or ClassCastException) is thrown by ObjectDB - posting the full stack

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

I have moved from automatic run-time enhancement to explicit post-compile enhancement in an Ant build.xml in a NetBeans web app, and sometimes on editing a file that performs a generic for loop over an @entity type I get a generics error. The generic for loop is: 

JPA / JDO Class Enhancer

ObjectDB Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. Enhancement is mainly for user-defined persistable ... the build process. The following Maven build file defines a Java compiler plugin that includes

newQuery(compiled)

.jdo">Query newQuery(  Object compiled) compiled - another Query from the same JDO

compile()

Method javax.jdo.Queryvoid compile() Verify