About object

51-60 of 200Refresh
Forum
15

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
15

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
14

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

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
JDO Doc
14

javax.jdo.PersistenceManager

. This exception contains a nested JDOOptimisticVerificationException for each object that failed ... 1.0 void deletePersistent(Object pc) Delete the persistent instance from the data store. Delete ... . The data store object will be removed at commit. Unlike makePersistent, which makes the closure
Forum
14

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
14

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
14

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
14

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
14

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