du kan også få persistance.xml..
<?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="WhatUEatJPAPU" transaction-type="RESOURCE_LOCAL">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<class>dk.whatueat.model.Bruger</class>
<properties>
<property name="javax.persistence.jdbc.url" value="jdbc:
derby://localhost:1527/whatueat"/> <property name="javax.persistence.jdbc.password" value="swh"/>
<property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
<property name="javax.persistence.jdbc.user" value="swh"/>
</properties>
</persistence-unit>
</persistence>