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 ?
How to connect to an embedded ObjectDB in a JPA/JEE application?
#1
#2
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