When deployed in OSGI, the Schematic API will not load db providers using the TCCL java.util.ServiceLoader. A work around using a "Service Loader Mediator" as discussed here.
I have tried this, without success. See stacktrace and bundle info.
The error message is this "None of the existing persistence providers could return a Schematic DB with type ..." It does not matter what persistence provider is specified.
Not sure where to go with this. Maybe refactoring out the CL from the getDb method?