JPA persistence binding

Please review.
Included are libs for PostgreSQL, Apache Derby and MySQL.
Tested on PostgreSQL and Apache Derby. Working OK on my production system.

Thanks. I removed this particular URL.
In fact this is taken from openhab.cfg.


> Am 05.11.2014 um 11:18 schrieb Thomas Eichstädt-Engelen <notifications@github.com>:
> 
> In bundles/persistence/org.openhab.persistence.jpa/META-INF/persistence.xml:
> 
> > @@ -0,0 +1,34 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
> > +
> > +    <persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
> > +        <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
> > +        <non-jta-data-source/>
> > +        <class>org.openhab.persistence.jpa.internal.model.JpaPersistentItem</class>
> > +        <exclude-unlisted-classes>true</exclude-unlisted-classes>
> > +        <properties>
> > +            <property name="javax.persistence.jdbc.url" value="jdbc:postgresql://hab.local:5432/housestats"/>
> 
> i assume this property can be overwritten with a -D option, right?
> 
> —
> Reply to this email directly or view it on GitHub.
>