META-INF.persistence.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- For the unit tests. Placing it into the test/resources folder did not work. --> <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="test" transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <non-jta-data-source>osgi:service/javax.sql.DataSource/(osgi.jndi.service.name=jdbc/opencast)</non-jta-data-source> <class>org.opencastproject.util.persistence.TestDto</class> <class>org.opencastproject.util.persistencefn.TestDto</class> <shared-cache-mode>NONE</shared-cache-mode> <properties> <property name="eclipselink.ddl-generation" value="create-tables" /> <property name="eclipselink.logging.logger" value="JavaLogger" /> <property name="eclipselink.create-ddl-jdbc-file-name" value="create-kernel-jpa.jdbc"/> <property name="eclipselink.drop-ddl-jdbc-file-name" value="drop-kernel-jpa.jdbc"/> </properties> </persistence-unit> </persistence>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy