About Data Set

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.   ... and examine the database, the entity contains the value set by the second thread, as expected.   import javax. ... application: a client that parses and stores data from the ancient text-based game TradeWars 2002. ...

 
api-jdo

javax.jdo.JDONullIdentityException

An instance of this class is thrown when attempting to create an object id when the object id constructor parameter is null.(Exception of JDO)

 
forum_thread

connect with server

how to connect the data base on a remote server and share odbc in object db ... how to connect the data base on a remote server and share odbc in object db ... server and make client in the network can share the data base i want to know the right connection string. i used ...

 
api-jdo

setConnectionURL(url)

Set the URL for the data store connection.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

setConnectionFactory2Name(connectionFactoryName)

Set the name for the second data store connection factory.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

javax.jdo.JDOUserException

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

 
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.JDOFatalException

This class represents exceptions that are fatal; that is, the condition that caused it cannot be bypassed even if the operation is 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)