Home » Search

About object

51-60 of 200Refresh
Issue
13

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
13

"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
13

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
12

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

key of a managed object", but my application is not trying to change the primary key.  (ObjectDB ... change, and save some space in memory. You can still use StringIdentity to represent object IDs ... and is the primary key used to save/restore the object into/out of the database.  Another user might try
Forum
12

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
12

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
12

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
12

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
12

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
Issue
12

Cannot insert more than about 2^20 objects

Hi I have a DB with 4 entities and a total of 4 index. Once I reach 1048565 total objects in the whole DB, i am unable to insert more object, although i get NO error message nor exceptions. Doctor said Db is fine (see below) I notice that 1048565 objects + 4 entities + 4 ID indexes + 4