knowing/Medmon — Issue #14: Set derby-database directory in persistence.xml or programmatically to {user.home}
Author: muuki88
Created: 2011-11-07 18:13:30+00:00
State: open
Labels: Database

Look for placeholders for persistence.xml to set the
embeddedDerby database directory correctly.

Current setting is

However the location for the folder "medmon" is different for each OS.
* Ubuntu uses /home/{user}/Desktop
* Windows 7 -> unkown (!)

If it's not possible to set the directory via the persistence.xml,
the EntityManagerFactory must be created programmtically.
-> Look into Gemini JPA
-> Look into Gemini DBAccess
-> EntityManagerFactoryBuilderService

-> Maybe change IEntityManagerService in medic.core plugin.