META-INF.persistence.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> <persistence-unit name="windup-web-services-persistence-unit" transaction-type="JTA"> <description>Windup Persistence Unit</description> <jta-data-source>java:jboss/datasources/WindupServicesDS</jta-data-source> <exclude-unlisted-classes>false</exclude-unlisted-classes> <properties> <property name="hibernate.hbm2ddl.auto" value="update"/> <!-- <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>--> <property name="hibernate.show_sql" value="false"/> <property name="hibernate.format_sql" value="false"/> <property name="hibernate.cache.use_second_level_cache" value="true"/> <property name="hibernate.allow_update_outside_transaction" value="true"/> </properties> </persistence-unit> </persistence>