About properties

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2....
Alternatively, the PersistenceManagerFactory 's properties can be set at runtime:
Propertiesproperties = new Properties ( ) ;
: ...

Do you have any preferred way of finding out whether ObjectDb is my EntityManager's JPA Provider?
I know there are problems with using getDelegate ( http://weblogs.java.net/blog/ss141213/archive/2009/05/be_careful_whil.html ) but on the other hand unwrap is not very portable ( https://forums.oracle.com/forums/thread.jspa?threadID=2149162 ). It would be nice if the <provider> element of the PeristenceUnit were visible in one of the Properties sets returned by the EntityManager and EntityManagerFactory, but its not.
... element of the PeristenceUnit were visible in one of the Properties sets returned by the EntityManager and EntityManagerFactory, but its ... . jpa . EMF .
Or putting something in my properties for this sole purpose...
<property name = ...

Hello,
what we need to do, that we can use a separate bundle for javax.persistence in a OSGi envoirement.
We tried to use the objectdb-jee.jar instead of objectdb.jar. And a separate bundle for javax.persistence that only contains the Java Persistence API.
So that the ObjectDB PersistenceProvider get visible for the JavaPersistenceAPI, we have registered the ObjectDB as Buddy.
... </provider >
<properties >
<property name = ... value = "admin" />
</properties >
</persistence-unit >
</persistence ...