About client

forum_thread

Multi-thread access to single EM's entities

If my entity classes have synchronized getters and setters, is it reliable for multiple threads to access a single EM's managed entities, as long as only the thread that created the EM interacts directly with it?  I've tested this and it seems to work... but I know better than to depend on the observable behavior of multithreaded code. When I run this example and examine the database, the entity contains the value set by the second thread, as expected.   ... using ObjectDB in a rather unconventional application: a client that parses and stores data from the ancient text-based game TradeWars ...

 
api-jdo

javax.jdo.JDOReadOnlyException

This class represents exceptions caused by an attempt to update a datastore when the PMF was created as "read-only".(Exception of JDO)

 
api-jdo

javax.jdo.JDOFatalInternalException

This class represents errors in the implementation for which no user error handling is possible.(Exception of JDO)

 
api-jdo

javax.jdo.JDOUserException

This class represents user errors that can possibly be retried.(Exception of JDO)

 
api-jdo

javax.jdo.JDOObjectNotFoundException

This class represents exceptions caused by the user accessing an object that does not exist in the datastore.(Exception of JDO)

 
api-jdo

javax.jdo.JDODetachedFieldAccessException

This class represents exceptions caused by access of an unloaded field while the instance is detached.(Exception of JDO)

 
api-jdo

javax.jdo.JDODataStoreException

This class represents data store exceptions that can be retried.(Exception of JDO)

 
api-jdo

javax.jdo.JDOUserCallbackException

This class represents exceptions caused by exceptions thrown during execution of callbacks or listeners.(Exception of JDO)

 
release

2.4.7

... a new index. Fixed a bug in setting SSL client-server connection. Added support for checking activation. ... Fixed using type operator and literals in client server queries ( issue #112 ). Fixed eager fetch ...

 
api-jdo

javax.jdo.JDOOptimisticVerificationException

This class represents optimistic verification failures.(Exception of JDO)