About enhancement

41-50 of 200Refresh
Forum
16

Maven Enhancement with OSGi Plugins

Hello, I've an OSGi environment and try to enhance Classes with Maven as it is described in ... other plugins. Is there a way to include classes in enhancement process? Thanks for your help ... .objectdb.o.JEL.A(JEL.java:442) at com.objectdb.o.JEN.k(JEN.java:93) at com.objectdb.Enhancer.main
Forum
16

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

I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody ... extends Element { On post-compile enhancement I get this error (as reported in the odb log file ... ) at com.objectdb.Enhancer.main(Enhancer.java:33) Caused by: java.lang.LinkageError: loader
Forum
16

Weird behaviour with enhanced classes and embedded entities

entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced ... static void main(String[] args) {     // enhance entities     com.objectdb.Enhancer.enhance ... (or without enhancing the classes). What I can say so far: Enhancing & multi threading breaks .add
Forum
15

Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time entity classes ?

ObjectDB support wrote elsewhere: ... you do not need the Enhancer agent, since you use build time ... to disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time enhanced entity classes (other than just logging, typically just info
Forum
15

Enhancer failure: Failed to process class file of type

:446)         at com.objectdb.o.JEN.m(JEN.java:101)         at com.objectdb.Enhancer.main(Enhancer ... .   Thanks David comfirmed that error resolved with 2.7.2_02 and the following enhancement config in gradle works: task enhance ( type: JavaExec ) {   main = 'com.objectdb.Enhancer'   classpath
Forum
15

How to check if the classes were enhanced correctly with valid OEM license?

Hello, is there a way/tool how to check whether build classes were enhanced with valid OEM license? Scenario: 1) Build and enhance Java application with some Object DB license key. 2) Pick particular JAR containing enhanced classes from the build above. 3) Run some tool against picked JAR
Forum
15

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

.8_06 All our entities are enhanced. There are nested entities in following hierarchy: @Entity ... enhancement, but it could be anything. Hello, First of all thank you for the try to analyze the error ... ). We see no connection between the database and the enhanced classes. But perhaps, not quite comprehensible
Forum
15

Exception when querying Map property with @embedded & Enhancer enabled

Hi, I have the following test class that is failing when the enhancer is enabled, resulting in the error 'Failed to write the value of field field TestEmbeddableMap$MyAttributeItem.id using enhanced method.', if I disable the enhancement the test works as expected, and returns the expected
Forum
15

Invalid file type for enhancement (error 104)

Trying to run enhancement, I get:    [ObjectDB 2.5.5_05] Invalid file type for enhancement: /home ... ) com.objectdb.o.UserException: Invalid file type for enhancement: /home/steve/java/spiffymap-svn ... .objectdb.Enhancer.main(Enhancer.java:32) Could you give some help as to what this issue
Forum
15

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