About object

41-50 of 200Refresh
Forum
22

how to operate with same object but two different Thread on database.

Hi,    i have two thread one is for insert data another is for update data but in same object ... , create object of Gettersettetclass, i.e insert operation and pass that object to update.java class ... am getting that object here  which is passes from insert.java class.Then here i want to do update
Forum
22

How to access database object to my application.

Hi, I want to access a object which contains some value like id,name,college and address. Here it returns some address but i am not getting object value, i attach 3 java program below, please check. 1: GetterSetter method  2: Creating object for insert data  3: For Access data. Here object created
Forum
22

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

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
22

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
22

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
22

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
22

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
22

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
22

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