<?xml version="1.0" encoding="UTF-8"?> | |
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> | |
<persistence-unit name="RelationalPU" transaction-type="RESOURCE_LOCAL"> | |
<class>relational.model.Product</class> | |
<class>relational.model.Discount</class> | |
<properties> | |
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/polyglot"/> | |
<property name="javax.persistence.jdbc.user" value="polyglot"/> | |
<property name="javax.persistence.jdbc.password" value="polyglot"/> | |
<property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/> | |
<property name="eclipselink.jdbc.read-connections.min" value="1"/> | |
<property name="eclipselink.jdbc.write-connections.min" value="1"/> | |
<property name="eclipselink.logging.level" value="FINE"/> | |
<property name="eclipselink.logging.timestamp" value="false"/> | |
<property name="eclipselink.logging.thread" value="false"/> | |
<property name="eclipselink.logging.session" value="false"/> | |
<property name="eclipselink.logging.exceptions" value="false"/> | |
<property name="eclipselink.logging.connection" value="false"/> | |
</properties> | |
</persistence-unit> | |
</persistence> |