Home » Search

About on the fly enhancement

51-60 of 200Refresh
Forum
5

Measurement of the test coverage of enhanced classes

to our customers. Therefore we think we need to test the enhanced classes. But that distorts our test ... "coverage" of our tests? Enhancement adds code to persistent classes so it would affect test coverage ... ) rather than on the class file and JVM instructions may not be affected by code that is added by enhancement
Issue
5

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

encounter ObjectDB enhancement errors: private boolean loaded = false; @Transient ... javaagent run-time enhancement or post-compile enhancement, and on complete clean and build in ... ] Type com.example.entity.Element is not enhanced. ... But it is ok using the 'get' getter form
Forum
5

Enhancement from gradle build file

Just wondering if it's possible to add enhancement in the gradle build file after compilation ... seems to work: task enhance(type: JavaExec) {   main = 'com.objectdb.Enhancer'   classpath ... _two.*' } compileGroovy.finalizedBy(enhance)   note, for java, you want compileJava instead of compileGroovy. dmoshal
Issue
5

Enhancer: non-zero exit code at exceptions

Hello, we have found that the enhancer returned an non-zero exit code on errors. You can change this so that the error of the enhancers can be detected. Thank you for this report. Starting build 2.6.1_04 the Enhancer exits with non zero code on errors. Note that System.exit is now invoked
Forum
5

OEM license, enhancer

for each customer system when we are using enhancer.  As we want to ship a standard database with the system which was created before having the OEM license and before adding enhancer to our maven ... you distribute your software with entity classes that have been enhanced by the Enhancer in OEM mode
Issue
5

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the removal of an entry from a @OneToMany collection ... .getChildEntityContainer().remove("01"); does not work correctly with not enhanced JPA entities ... . It represents an issue with non enhanced classes, but it is not related to @OneToMany collection. Any change
Forum
5

Version 2.5.6 enhancement problem solved by updating to version 2.5.7_03

After updating some of my code to java 8, enhancement threw "unexpected" exceptions from ... have been related to the java 8 update. In any event, my enhancement problem went away when I updated ... build 2.5.6 should also support Java 8, but the project has to be rebuilt and enhanced
Forum
5

Option or strategy to disable/skip runtime enhancement checks (to improve load time)?

On startup of a Maven-based web app there is verbose logging of object checking whether enhancement ... . For example, it is checking whether PrimeFaces JSF toolkit classes are enhanced. I am using Maven-based compile-time enhancement applied to entity modules (only), so I know these checks
Issue
5

Enhancer NullPointerException

I'm getting the following stack trace when running the enhancer on one of my jars: [ObjectDB 2.3.2_04] null java.lang.NullPointerException at com.objectdb.o.JEL.L(JEL.java:633 ... .objectdb.Enhancer.main(Enhancer.java:32) Please let me know if you need any further information
Forum
5

Java 8 Enhancer Problem

transformers on the classpath. This is normaly not a problem because the ObjectDB enhancer ignores non @Entity or already enhanced classes but in conjunction with new Java 8 class files it throws ... error is not related to the Enhancer fix, but to another fix (issue #1373). Please try build 2.5.5_02.   mosi0815