About on the fly enhancement

191-200 of 200Refresh
Forum
0

LAZY @ManyToOne field functions as EAGER

relationships only in enhanced classes. If you run your test as recommended with enhancement enabled, e.g ... should be: b.cLazy:{C}[2]"null" b.cEager:{C}[3]"cEager" But when classes are not enhanced, ObjectDB
Forum
0

Memory leak while merging parent with No Cascade annotation with children

is enhanced (e.g. running with -javaagent:C:\objectdb\bin\objectdb.jar). We will try to fix ... under objectdb javaagent but there is a problem. Indeed, my beans are not correctly Enhanced ... guava cache do some CGLIB proxy with my entities beans. My conclusion is that the Enhancer is not
Forum
0

Mysterious "Attempt to persist a reference to a non managed instance" error

com.objectdb.Enhancer; public class ODBTest { public static void main(String[] args) {     Enhancer.enhance("failing.*");       EntityManagerFactory emf = Persistence
Issue
0

NullPointer when accessing persistent field

were all enhanced ( static weaving ).   The following test case reproduces the exception. It may be thrown ... .lang.String, com.aqera.domains.one.activities.AqeraRegister>(); As before Enhancer is being run ... this down. If we do not do static enhancing we do not get this bug. The uploaded zip contains a maven
Forum
0

ObjectDB 2.x is working without any activation code

long as your development / build machine is activated and the classes are enhanced on that activated ... , only development machines require activation. Classes that are enhanced on an activated computer can be used ... that is used for class enhancement) requires a separate activation. Use your license to activate
Forum
0

ObjectDB's Database Doctor Incorrect Error Report

! Was ObjectDB version 2.6.9_01 intended to have the enhancement of disallowing database page sizes greater ... 256 KB page size.)  Perhaps the enhancement is intended for the next full release (e.g. 2.6.10 ... an exception in future versions. I ask that you do consider an exception as a future enhancement
Forum
0

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
0

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
0

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
0

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