ObjectDB ObjectDB

How to connect to an embedded ObjectDB in a JPA/JEE application?


It is easy to change the properties in persistence.xml file to connect to an ObjectDB server. But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application through changing persistence.xml file. Can any one please help ?

Dr M H B Ariyaratne

Just replace the client-server connection url with an embedded connection url, e.g. an absolute file path. See this documentation section regarding client-server and embedded connection urls.

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


To post on this website please sign in.