Metodo grava LOG, atualizado com resposta do mediador
[simdecs.git] / src / conf / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <persistence version="2.0" 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 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
3   <persistence-unit name="simdecsPU" transaction-type="RESOURCE_LOCAL">
4     <provider>org.hibernate.ejb.HibernatePersistence</provider>
5     <non-jta-data-source>pg</non-jta-data-source>
6     <class>org.ufcspa.simdecs.entidade.Log</class>
7     <class>org.ufcspa.simdecs.entidade.Usuario</class>
8     <class>org.ufcspa.simdecs.entidade.ArquivoCaso</class>
9     <exclude-unlisted-classes>true</exclude-unlisted-classes>
10     <properties>
11       <property name="hibernate.hbm2ddl.auto" value="update"/>
12     </properties>
13   </persistence-unit>
14 </persistence>