About Enhancer

191-200 of 200Refresh
Forum
1

ODB should auto-restart if it detects it's necessary

.ReadWorkoutPlan.read(ReadWorkoutPlan.java:36) This is how the error looks like if I enhance the classes before execution with: Enhancer.enhance("xxx.xxx.entity.p2.*"); com.objectdb.o.InternalException
Forum
1

Possible issue with LAZY Loading

enhanced). In your example, the lazy location collection is loaded eagerly even when the classes are enhanced because of your implementation of the setLocationList method, which iterates over the collection ... ; } and enhance the classes - the test will throw NullPointerException as expected
Forum
1

Problem to use find method on an abstract Class: AbstractMethodError is thrown

returned in the second). Regarding the exception from #1, see this forum thread. Enhancing the classes during build should solve this JBoss / ObjectDB runtime enhancement conflict. Thank you for the reply. The test worked exactly as expected ("B#1" as an output). after enhancing the classes before
Forum
1

Soft Reference Object Cache Recommendation

you when running the test. Assuming you used enhanced classes (as mentioned in your test comments ... classes are enhanced). Still it is not released on GC because this is the way soft references work ... : The test is using enhanced classes and inspecting RAM
Issue
1

Threaded Test - Failed to commit transaction: Unexpected internal exception

the effect of the sort either. Please try running the test after adding the missing close + enhancing ... also tried enhancing the classes using the javaagent method but to no avail. I've put some timing ... Here are the results of my run (new test, no enhancement): 2011-06-17 17:46:28,093 Producer p1 putting point 0 2011
Forum
1

Unexpected NoSuchFieldError exception

:719) at com.objectdb.jpa.EMImpl.begin(EMImpl.java:272) ... 24 more Try rebuild and enhance of all your classes, as the error messages indicates a broken enhancement (e.g. some classes in a class hierarchy are enhanced some are not, which is not allowed). dmoshal
Forum
1

Wrong data stored in date only fileds

have an _odbHidden partner. Is this a debug code leftover? Thank you Emil Enhanced classes have __odbHidden methods added by the Enhancer. There is a change in this build, following this forum thread ... you. A fresh build with 2.6.4_03 enhancer does not show the _odbHidden fields. Emil prolancer
Forum
1

What role is the JDO in ObjectDB?

. It required vendors to enhance the bytecode of domain objects to produce class files that were binary ... and that its reliance on bytecode enhancement caused it to be unfairly stigmatized. This was probably true ... community that now thinks nothing of using frameworks that make extensive use of bytecode enhancement
Issue
1

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

are enhanced. The screenshot indicates using some entity objects (MappingImpl?) in reflection mode. Reflection ... . If we enhance all entities then it works. Hello, we have already again problems that the ODB file writer ... are enhanced. The entity DBVectorStepBlockCollectionImpl was modified and then the transaction
Forum
1

How to create dynamic Entity class.

to commit transaction: Failed to get reference value of field field DClass.Field_1 using enhanced method ... to get reference value of field field DClass.Field_1 using enhanced method at com.objectdb.o ... : Failed to get reference value of field field DClass.Field_1 using enhanced method at com.objectdb.o