summaryrefslogtreecommitdiffstats
path: root/src/META-INF/persistence.xml
blob: 039a45e35d9cddc5694903121241892da35d75de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="catalog">
<class>jpa.User</class>
<class>jpa.Category</class>
<class>jpa.Product</class>
<properties>
  <property name="toplink.logging.level" value="INFO"/>
  <property name="toplink.jdbc.driver" value="com.mysql.jdbc.Driver"/>
  <property name="toplink.jdbc.url" value="jdbc:mysql://localhost/catalog"/>
  <property name="toplink.jdbc.user" value="root"/>
  <property name="toplink.jdbc.password" value="masterkey"/>
</properties>
</persistence-unit>
</persistence>