<?xml version="1.0" encoding="UTF-8"?> | |
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0"> | |
<persistence-unit name="unit"> | |
<jta-data-source>movieDatabase</jta-data-source> | |
<properties> | |
<property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/> | |
</properties> | |
</persistence-unit> | |
</persistence> |