Home » Search

About Enhancer

81-90 of 200 Refresh
Issue
7

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

. There is an Ant script with post-compile enhancement of all entity classes. When you clean and build it will report: Java/JVM version: 1.8 Java/JVM detail version: 1.8.0_74 ObjectDB enhancer: begin: (all classes within entity packages): javac.classpath:lib/objectdb-2.6.9.jar [ObjectDB 2.6.9 Enhancer] 8
JDO Doc
6

javax.jdo.InstanceCallbacks

into this instance. This method is not modified by the enhancer. Derived fields ... . This method is not modified by the enhancer. Since: JDO 2.0 void jdoPreDelete() Called before ... the enhancer so that fields referenced can be used in the business logic of the method. Since: JDO 2.0 void
Forum
5

Unexpected internal exception during set field of an Embeddable to null

to be smaller. During enhancement of the SignalValueImpl class field originalValue was the 4th field. Assuming that there may have been a schema change since that enhancement rebuilding the project and enhancing all classes again may solve the issue. If it doesn't please upload the embedded class file
Forum
5

PersistenceException: Failed to locate field

enhancement. Please make sure that after the change you only use a clean build of your application with fresh enhancement. Thanks, though I've been using this enhancement for ages (I think it's actually means no enhancement, serialization only): < enhancement agent = "false
Forum
5

evictAll() behavior

) classes are not enhanced. ObjectDB supports working with no enhancement as an extension to JDO ... are not enhanced - enhancing them could solve the problem without any additional action (such as evict ... , jdoStateManager so as i understand they are enhanced OK. So please check the state of the objects
Forum
4

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

Thanks for your help. This exception indicates a missing enhancement, i.e. City is enhanced but its super class AbstractMethod is not enhanced. It is indeed weird that the problem is only with City ... the project and then redeployment solve the problem. You may also try using build time enhancement
Forum
4

Maven driven compile time ehnancement

Hi,    Just thought I'd share a small bit of Maven config to aid in enhancing persistent classes ... >              com.objectdb. Enhancer Enhancer] 4 persistable types have been enhanced: com.x.y.a.AB com.x.y.a.AC com
Forum
3

Entity is not related to ObjectDB, but i get exception from ObjectDB

" /> Perhaps this is because of Enhancer, how can we disable it in ... for a couple of days. 

Looking forward to your response
 This could happen due to partial enhancement, i.e. all the project is enhanced, but then specific classes are compiled again without enhancement
Forum
3

Update is ignored by ObjectDB

of the following conditions applies: The entity classes are not enhanced. ObjectDB is forced to use reflection rather than the enhancement. Enhancement is used but not only entity classes are enhanced but also any code that accesses a persistent field directly. In other words, if you use enhancement
Issue
3

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

Hi   there is something wrong with enhancement process I got that class was succesfully processed, log has size 0, enhancer is from build objectdb-2.2.8_08 and during object creation when some filed ... of an incomplete enhancement - i.e. Network extends another persistence capable class that has not been enhanced