ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
28

ObjectDB is opening too many sockets

DB connections as we are monitoring them, and they are staying under 20. thamal Tomas Hamal If you open connections (create EntityManager / PersistenceManager instances) without closing ... to the connection to much Let's look on the results of lsof command for ODB Server process, from the 2
27

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

; which generates the following exception below. What am I doing wrong? It appears the connection manager fails ... Failed to connect to server 10.9.2.15:9999 (Connection refused: connect) (error 522) at com.objectdb.jpa ... .o.UserException: Failed to connect to server 10.9.2.15:9999 (Connection refused: connect) at com
25

Query problem after transaction commit

I have a machine running the objectdb server and the client on another machine connect to it. The client program can connect to the server and query to get all the records. However, after transaction ... _Connection: connecting 02> Test_Connection: connected 03> UI: start query [query for all object Goods
0

getNativeConnection()

-specific connection that this connection wraps. In general, it is not recommended that this native connection be used directly, since the JDO implementation has no way to intercept calls to it, so it is quite possible to put the PersistenceManager's connection into an invalid state. Returns: the native connection Since: JDO 2.0
0

setConnectionFactory2(connectionFactory)

) Set the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification. Parameters
0

javax.jdo.JDOEntityManager

transaction is active, this method obtains a datastore connection and verifies the consistency
0

javax.jdo.PersistenceManager

obtains a datastore connection and verifies the consistency of the instances in the cache ... obtains a datastore connection, synchronizes the cache with the datastore using this connection and reports any exceptions. The connection obtained by this method is held until the end of the transaction
0

setConnectionFactory(connectionFactory)

) Set the data store connection factory. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification. Parameters: connectionFactory - the data store connection factory. Since: JDO 1.0
0

getPersistenceManager(userid, password)

connections from the connection pool. After the first use of getPersistenceManager, no "set" methods will succeed. Parameters: userid - the userid for the connection password - the password for the connection
0

flush()

transaction is active, this method obtains a datastore connection, synchronizes the cache with the datastore using this connection and reports any exceptions. The connection obtained by this method

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support