diff options
Diffstat (limited to 'src/main/resources/META-INF/persistence_release.xml')
-rw-r--r-- | src/main/resources/META-INF/persistence_release.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/resources/META-INF/persistence_release.xml b/src/main/resources/META-INF/persistence_release.xml new file mode 100644 index 00000000..dc5ac2db --- /dev/null +++ b/src/main/resources/META-INF/persistence_release.xml @@ -0,0 +1,12 @@ +<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 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" + version="2.0"> + <persistence-unit name="traccar"> + <jta-data-source>java:/DefaultDS</jta-data-source> + <properties> + <property name="hibernate.show_sql" value="true"/> + <property name="hibernate.hbm2ddl.auto" value="validate"/> + </properties> + </persistence-unit> +</persistence> |