META-INF.persistence.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/persistence" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" version="2.0"> <persistence-unit name="pipeline-pu" transaction-type="RESOURCE_LOCAL"> <class>org.daisy.pipeline.persistence.impl.messaging.PersistentMessage</class> <class>org.daisy.pipeline.persistence.impl.webservice.PersistentClient</class> <class>org.daisy.pipeline.persistence.impl.webservice.PersistentRequestLogEntry</class> <class>org.daisy.pipeline.persistence.impl.webservice.PersistentJobConfiguration</class> <class>org.daisy.pipeline.persistence.impl.job.PersistentSource</class> <class>org.daisy.pipeline.persistence.impl.job.PersistentInputPort</class> <class>org.daisy.pipeline.persistence.impl.job.PersistentOption</class> <class>org.daisy.pipeline.persistence.impl.job.PersistentParameter</class> <class>org.daisy.pipeline.persistence.impl.job.PersistentJobContext</class> <class>org.daisy.pipeline.persistence.impl.job.PersistentJob</class> <class>org.daisy.pipeline.persistence.impl.job.PersistentPortResult</class> <class>org.daisy.pipeline.persistence.impl.job.PersistentOptionResult</class> <class>org.daisy.pipeline.persistence.impl.job.PersistentMapper</class> <properties> <property name="eclipselink.ddl-generation" value="create-tables"/> <property name="eclipselink.ddl-generation.output-mode" value="database"/> <!--<property name="eclipselink.persistence-context.reference-mode" value="WEAK"/>--> <property name="eclipselink.logging.logger" value="org.daisy.pipeline.persistence.logging.Slf4jSessionLogger"/> <property name="eclipselink.logging.level" value="INFO"/> <property name="eclipselink.logging.thread" value="true"/> <property name="eclipselink.logging.session" value="false"/> <property name="eclipselink.logging.exceptions" value="true"/> <property name="eclipselink.logging.timestamp" value="false"/> </properties> </persistence-unit> </persistence>