META-INF.persistence.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> <persistence-unit name="sdmxgatewayPU" transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <class>sdmx.gateway.entities.Annotations</class> <class>sdmx.gateway.entities.Language</class> <class>sdmx.gateway.entities.Value</class> <class>sdmx.gateway.entities.Code</class> <class>sdmx.gateway.entities.Codelistreference</class> <class>sdmx.gateway.entities.Datastructure</class> <class>sdmx.gateway.entities.Observation</class> <class>sdmx.gateway.entities.Conceptreference</class> <class>sdmx.gateway.entities.Nametext</class> <class>sdmx.gateway.entities.Dataflow</class> <class>sdmx.gateway.entities.Concept</class> <class>sdmx.gateway.entities.Datastructurereference</class> <class>sdmx.gateway.entities.Name</class> <class>sdmx.gateway.entities.Conceptscheme</class> <class>sdmx.gateway.entities.Conceptschemereference</class> <class>sdmx.gateway.entities.Datastructurecomponent</class> <class>sdmx.gateway.entities.Annotation</class> <class>sdmx.gateway.entities.Attributerelationshiptype</class> <class>sdmx.gateway.entities.Codelist</class> <class>sdmx.gateway.entities.Annotationtext</class> <exclude-unlisted-classes>false</exclude-unlisted-classes> <properties> <property name="javax.persistence.jdbc.url" value="jdbc:postgresql://localhost:5432/repository"/> <property name="javax.persistence.jdbc.user" value="user"/> <property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver"/> <property name="javax.persistence.jdbc.password" value="resu"/> </properties> </persistence-unit> </persistence>