META-INF.persistence.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <persistence version="3.0" xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd"> <persistence-unit name="openLCA" transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <class>org.openlca.core.model.Actor</class> <class>org.openlca.core.model.AllocationFactor</class> <class>org.openlca.core.model.Category</class> <class>org.openlca.core.model.Currency</class> <class>org.openlca.core.model.Exchange</class> <class>org.openlca.core.model.Flow</class> <class>org.openlca.core.model.FlowProperty</class> <class>org.openlca.core.model.FlowPropertyFactor</class> <class>org.openlca.core.model.ImpactCategory</class> <class>org.openlca.core.model.ImpactFactor</class> <class>org.openlca.core.model.ImpactMethod</class> <class>org.openlca.core.model.Location</class> <class>org.openlca.core.model.NwSet</class> <class>org.openlca.core.model.NwFactor</class> <class>org.openlca.core.model.Parameter</class> <class>org.openlca.core.model.ParameterRedef</class> <class>org.openlca.core.model.Process</class> <class>org.openlca.core.model.doc.ProcessDoc</class> <class>org.openlca.core.model.ProcessGroupSet</class> <class>org.openlca.core.model.ProcessLink</class> <class>org.openlca.core.model.ProductSystem</class> <class>org.openlca.core.model.Project</class> <class>org.openlca.core.model.ProjectVariant</class> <class>org.openlca.core.model.ParameterRedefSet</class> <class>org.openlca.core.model.SocialAspect</class> <class>org.openlca.core.model.Source</class> <class>org.openlca.core.model.Unit</class> <class>org.openlca.core.model.UnitGroup</class> <class>org.openlca.core.model.SocialIndicator</class> <class>org.openlca.core.model.DQSystem</class> <class>org.openlca.core.model.DQIndicator</class> <class>org.openlca.core.model.DQScore</class> <class>org.openlca.core.model.MappingFile</class> <class>org.openlca.core.model.Result</class> <class>org.openlca.core.model.FlowResult</class> <class>org.openlca.core.model.ImpactResult</class> <class>org.openlca.core.model.Epd</class> <class>org.openlca.core.model.EpdModule</class> <class>org.openlca.core.model.doc.ComplianceDeclaration</class> <class>org.openlca.core.model.doc.AspectMapConverter</class> <class>org.openlca.core.model.doc.Review</class> <class>org.openlca.core.model.doc.ReviewScopeConverter</class> <shared-cache-mode>ALL</shared-cache-mode> <properties> <property name="eclipselink.logging.level" value="WARNING" /> <!-- enable SQL logging etc. <property name="eclipselink.logging.level" value="ALL"/> <property name="eclipselink.logging.level.sql" value="FINE"/> <property name="eclipselink.logging.parameters" value="true"/> --> <property name="eclipselink.connection-pool.default.max" value="10" /> <property name="eclipselink.jdbc.cache-statements" value="true" /> <property name="eclipselink.jdbc.bind-parameters" value="true" /> <property name="eclipselink.jdbc.batch-writing" value="JDBC" /> <property name="eclipselink.jdbc.batch-writing.size" value="500" /> </properties> </persistence-unit> </persistence>