]> git.somenet.org - pub/jan/dst18.git/blob - ass1-jpa/src/main/resources/META-INF/orm.xml
[3.1] messaging. need refactoring?
[pub/jan/dst18.git] / ass1-jpa / src / main / resources / META-INF / orm.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <entity-mappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3                  xmlns="http://java.sun.com/xml/ns/persistence/orm"
4                  xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd"
5                  version="2.0">
6
7     <persistence-unit-metadata>
8         <persistence-unit-defaults>
9             <entity-listeners>
10                 <entity-listener class="dst.ass1.jpa.listener.DefaultListener"/>
11             </entity-listeners>
12         </persistence-unit-defaults>
13     </persistence-unit-metadata>
14 </entity-mappings>