Ravi Srinivasan
2018-09-10 aaf094af7ecf98e07e31a231fdab871b25961bd1
commit | author | age
aaf094 1 <?xml version="1.0" encoding="UTF-8"?>
RS 2 <persistence version="2.1"
3              xmlns="http://xmlns.jcp.org/xml/ns/persistence"
4              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5              xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
6     <persistence-unit name="hello" transaction-type="JTA">
7         <jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>
8         <properties>
9                 <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect" />
10                 <property name="hibernate.hbm2ddl.auto" value="create-drop" />
11                 <property name="hibernate.show_sql" value="true" />
12                 <property name="hibernate.format_sql" value="true" />
13     </properties>
14     </persistence-unit>
15 </persistence>