Home » Support » Forum » Using multiple databases

Using multiple databases

#1

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)?

#2

You can use as many databases as needed at the same time but each database connection requires a separate EntityManager/PersistenceManager.

References to objects in another database are not supported. Of course, you can keep IDs of the other database objects and manage the references yourself. You will not be able, however, to run one query on both databases.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login