Home » Search

About connect

61-70 of 200Refresh
FAQ
10

Is ObjectDB scalable? What are its limitation?

. Up to 9,223,372,036,854,775,808 entity objects per database file. Unlimited database connections (limited by operating system resources).
Tutorial
10

Step 3: Define a Spring DAO Component

connection: @PersistenceContext private EntityManager em; // Stores a new guest
Tutorial
10

Step 3: Define a Spring DAO Component

.annotation.Transactional; @Component public class GuestDao { // Injected database connection
Tutorial
10

Step 3: Define an EJB Session Bean

class GuestDao { // Injected database connection: @PersistenceContext private EntityManager
Tutorial
10

Step 3: Define an EJB Session Bean

; @Stateless public class GuestDao { // Injected database connection
JDO Doc
7

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
Forum
6

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

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 Returns: a PersistenceManager instance with default options. Since: JDO 1.0
JDO Doc
6

javax.jdo.PersistenceManager

, this method 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
JDO Doc
6

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