Skip to content

Commit 171eb94

Browse files
committed
persistence.xml: updated to be JPA 2.0
Based on http://en.wikibooks.org/wiki/Java_Persistence/Runtime#Example_JPA_2.0_persistence.xml_file No functional changes.
1 parent bfdf805 commit 171eb94

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_2_0.xsd"
5+
version="2.0">
6+
27
<persistence-unit name="DefaultPersistenceUnit" transaction-type="RESOURCE_LOCAL" />
8+
39
</persistence>

0 commit comments

Comments
 (0)