| <persistence 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 persistence_2_0.xsd" version="2.0"> |
| <persistence-unit name="beanvalidation-dynamic" transaction-type="RESOURCE_LOCAL"> |
| <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> |
| <mapping-file>META-INF/employee-orm.xml</mapping-file> |
| <exclude-unlisted-classes>true</exclude-unlisted-classes> |
| <validation-mode>CALLBACK</validation-mode> |
| <properties> |
| <property name="eclipselink.weaving" value="static"/> |
| <property name="javax.persistence.schema-generation.database.action" value="create"/> |
| </properties> |
| </persistence-unit> |
| </persistence> |