I have an application that, upon initial startup, creates about a 100,000 objects in a h2 database (using JDO). Each object is committed in its own transaction.
About half way through, the log spits out "EC.preCommit L1Cache op IS NULL!". The only place I find a reference to this error message is in the source file: ExecutionContextImpl.java
The message doesn't occur all the time, but it does occur most of the time - usually around the same spot. In terms of persisting, I'm using the following code:
pm.currentTransaction().begin();
pm.makePersistent(object);
pm.currentTransaction().commit();
pm.getFetchPlan().setDetachmentOptions(FetchPlan.DETACH_LOAD_FIELDS);
I'm really at a loss here. Any help would be greatly appreciated.