ObjectDB ObjectDB

coonection pooling

#1

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.

Thanks.

edit
delete
#2

This is something that should be managed on the application level, which should open the appropriate database for the active user, there is no support in ObjectDB for this functionality.

ObjectDB Support
edit
delete
#3

Thanks, we found a solution per your suggestion.

Kind regards.

edit
delete

Reply

To post on this website please sign in.