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

 
forum_thread

Using multiple databases

Is it possible for an ObjectDB PersistenceManger/EntityManager to connect to more than one database at a time? Also, can objects in one database reference objects in another database (e.g. through globally unique identifiers)? ... for an ObjectDB PersistenceManger/EntityManager to connect to more than one database at a time? Also, can objects in one ...

 
tutorial

Step 3: Add a Main Class

Explains how to add the JPA tutorial Main class in NetBeans. In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste to replace the content of the Main cl ...

 
forum_thread

Password in Embedded Mode?

Is there a way to setup a database file that will be accessed in embedded mode, such that it is locked with a password.  Thereby making it impossible to use ObjectDB to access the contents of the file without providing the correct password when obtaining a connection.  In my case, I'm interested in obtaining a JPA connection: #1 2011-01-27 02:58 Is there a way to setup a database file that will be accessed in embedded mode, such that it is locked with a pas ...

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

 
forum_thread

Database server with an application

Hi, I read the database server section of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - is that correct? The way to go is to have the DB server running by itself and then the 2 other applications connecting to it. Is that correct? Thanks ... of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - ...

 
api-jdo

setConnectionURL(url)

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

 
api-jdo

getConnectionUserName()

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

 
api-jdo

getConnectionDriverName()

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

 
issue

Service terminated silently (crashed?)...is there any way to cause a crash dump?

After running without issue, uninterrupted for seven months, our instance stopped silently.  The contents of the log are as follows: Object DB log: ObjectDB Server started on port 6138. ObjectDB Server stopped. ObjectDB Server started on port 6138. ObjectDB Server stopped. ObjectDB Server started on port 6138. ObjectDB Server started on port 6138.  <--This is where I restarted the service.   Note there is no "Server stopped" before the final "Server started". Bug Version: 2.6.1 Priority: Normal Status: Active Replies: 1 Type:  Bug ...