Home » Search

About object

51-60 of 200Refresh
Forum
11

object creation during pmf.getPersistenceManager()

Hi   We have observed that during pmf.getPersistenceManager(), objectdb is creating object ... that transaction we will create instances for all classes. The number of objects created during this invocation is really huge, that causes OutOfMemory during commit (memory for jvm 1,4GB). The object
Forum
11

removed objects stay with null field values in the reference

We have a class with a one to many relationship declared like this (1 or more objects of the same ... (); When we remove an object that is in this relationship (workflow), the object stays in ... is when we  delete with a query use entityManager.remove  You have to remove the object from the set explicitly
Issue
11

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

. When the project runs it logs creation of objects. Please note that there are 2 Project objects, and note that every Element object (except Project itself) gets a Project reference on construction: INFO ... ) We see that 2 Project objects were created, however in the database Explorer it lists size=0 for Project class
Forum
11

"Attempt to lock a non entity object" error

Probably a simple answer for someone who's been using ObjectDB for awhile: I'm reading objects from ... object" session.rollback() is somehow causing the problem (found through debugging ... ------------------------------------------------------------- Attempt to lock a non entity object
Forum
11

Criteria Query results in a NoResultException instead of returning object

.authenticate(IdentityImpl.java:284) ... 45 more   Even though there exists an object that matches the query (check attached screen shot). Should the query be returning an object or am I doing ... returns an object: String queryStr = "select i from " + identityClass.getSimpleName
Forum
11

Listing large number of complicated objects with paging.

to build wrapper object ProductTO that contains only fields that I need in listing and the use new ... runs blazing fast (22ms) but I think it's because Explorer lazy loads all that objects and load ... all objects in database: In the case
Issue
11

Navigation through lazy loading from Detached Objects

A main limitation of detached objects (as explained on the Detached Entities manual page) is: Retrieval by navigation from detached objects is not supported, so only persistent fields that have been loaded before detachment should be used. As explained on the Object DB vs EclipseLink/TopLink
Issue
11

spuriously objectdb objects have null references

from time to time we have in a multi threaded environment objects where all the references are null ... methods and protected them with synchronized like:   ... private static Object lockBegin = new Object(); public static void begin(EntityManager threadEntityManager){ synchronized(lockBegin
Forum
11

Storing Images and Object Pooling

it will be good if you make object pooling for every class.We dont know about your codes but i think it will be very good if you make object pool. You should be able to use ObjectDB successfully as an image database. ObjectDB includes many types of cache mechanisms, including object pooling. To use
Forum
11

Accessing objects to make them available after EntityManager close?!

Hi, I would like to get all the instances of an entity object. So I wrote a function which returns ... objects? Many thanks Closing the EntityManager changes the state of the managed object to detached, and in detached objects only fields that have already been loaded when the EntityManager