About connect

forum_thread

coonection pooling

Hi, is it possible to implement a mechanism in object db which redirects a particular user to its database. For example we have an ObjecDB server with 100 databases. On our Jboss server we have a single deployed application with 100 users. Depending on the logged user it will connect to different database when quering the ObjectDB. can we use persistence.xml to define this connection routing or, according to this scheme http://www.objectdb.com/java/jpa/persistence/overview , EntityManagerFactory would be responsible for this operation. ... with 100 users. Depending on the logged user it will connect to different database when quering the ObjectDB. can we ...

 
manual

ObjectDB 1.0 Manual

Welcome to the ObjectDB for Java/JDO Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JDO (Java Data Objects), the revolutionary database programming technology by Sun Microsystems. The main purpose of ...

 
forum_thread

Entity factory - best practices

Suppose I run a website that handles services such as user registration, user login checks, etc. I have all the credentials stored in an ObjectDB. Currently, each time user sends a request, I initiate a db connection by creating entity manager factory from db on disk, get the entity manager, modify stuff, close the connections. I wonder if it is better to have an overall db manager created on server init, then provide the shared instance over all requests, instead of creating a new one every time. #1 2015-06-13 04:58 Suppose I run a website that handles services such as user registration, user login checks, etc. I have all the c ...

 
api-jdo

getConnectionURL()

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

 
api-jdo

getConnectionFactory()

Get the data store connection factory.(Method of javax.jdo.PersistenceManagerFactory)

 
forum_thread

Intermittent Exception "Attempt to update types in read only mode"

I have a master/slave(s) setup and I am finding on the slaves that the slave client will get this message when trying to establish an EntityManager to the slave: ... The weird part is if I restart the slave DB then I can connect no problems and everything works fine. Replication between the DB's ...

 
api-jdo

setConnectionPassword(password)

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

 
api-jdo

setConnectionUserName(userName)

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

 
api-jdo

setConnectionDriverName(driverName)

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

 
api-jdo

setConnectionFactoryName(connectionFactoryName)

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