Home » Search

About on the fly enhancement

81-90 of 200Refresh
JDO Doc
3

JDO Annotations for Classes

JDO supports two modes of persistable classes that can be set by the following annotations: Non persistable classes that should be enhanced (because of accessing persistent fields of other classes directly) can be marked with: The identity mode of persistence capable classes can be specified by using:
Manual
3

JPA Entity Fields

3) unless either the entity class is enhanced (explained in chapter 5) or a version field
Manual
3

ObjectDB Developer's Guide

ObjectDB Tools: the Explorer, the Enhancer, the Doctor, etc. Describes the ObjectDB configuration
Manual
3

Running JPA Queries

. A result collection of a parameterized type can be iterated easily using an enhanced for loop
JDO Doc
3

javax.jdo.spi.PersistenceCapable

PersistenceManager, object identity, and version if it has one. In the Reference Implementation, the JDO Enhancer ... environment. The Reference Enhancer also adds code to implement the methods defined by PersistenceCapable ... has been enhanced to call the jdoStateManager on read if the jdoFlags setting is not READ_OK or READ_WRITE_OK
Forum
3

DB reading fails in debug mode in Eclipse

? The stack trace may indicate an incomplete enhancement. Try full clean build of your project with full enhancement of all your classes (particularly all persistence capable classes and all their ancestor classes, even if not persistence capable). Use post compilation (build time) enhancement rather than on the fly enhancement. jakab
Issue
2

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
2

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
1

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
1

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