META-INF.orm.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- NOTE: this file must be present in the main project, it cannot be "inherited" --> <entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0"> <persistence-unit-metadata> <persistence-unit-defaults> <entity-listeners> <!-- <entity-listener class="com.walterjwhite.datastore.listener.AbstractJPAEntityListener" /> --> <!-- bundle the records together that were updated so we can import them in another database --> <!--<entity-listener class="com.walterjwhite.datastore.listener.JPAEventListenerBundler" />--> <!--<entity-listener class="com.walterjwhite.datastore.encryption.listener.EncryptionListener"/>--> </entity-listeners> </persistence-unit-defaults> </persistence-unit-metadata> </entity-mappings>