fix(module-web,module-ejb): revert persistence.xml
This commit is contained in:
parent
3b8d1a616b
commit
1fb7b29d55
@ -1,22 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<persistence version="2.1"
|
<persistence version="2.1"
|
||||||
xmlns="http://xmlns.jcp.org/xml/ns/persistence"
|
xmlns="http://xmlns.jcp.org/xml/ns/persistence"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="
|
xsi:schemaLocation="
|
||||||
http://xmlns.jcp.org/xml/ns/persistence
|
http://xmlns.jcp.org/xml/ns/persistence
|
||||||
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
|
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
|
||||||
<persistence-unit name="primary">
|
<persistence-unit name="primary">
|
||||||
<provider>org.hibernate.ejb.HibernatePersistence</provider>
|
<provider>org.hibernate.ejb.HibernatePersistence</provider>
|
||||||
<jta-data-source>java:jboss/datasources/myboardgames</jta-data-source>
|
<jta-data-source>java:jboss/datasources/myboardgames</jta-data-source>
|
||||||
<properties>
|
<properties>
|
||||||
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL8Dialect" />
|
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL8Dialect" />
|
||||||
<property name="hibernate.show_sql" value="true" />
|
<property name="hibernate.show_sql" value="true" />
|
||||||
<property name="format_sql" value = "true"/>
|
<property name="format_sql" value = "true"/>
|
||||||
<property name="use_sql_comments" value = "true"/>
|
<property name="use_sql_comments" value = "true"/>
|
||||||
<property name="hibernate.generate_statistics" value="true" />
|
<property name="hibernate.generate_statistics" value="true" />
|
||||||
<property name="hibernate.hbm2ddl.auto" value="validate" />
|
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
|
||||||
<property name="hibernate.enable_lazy_load_no_trans"
|
<property name="hibernate.enable_lazy_load_no_trans"
|
||||||
value="true" />
|
value="true" />
|
||||||
</properties>
|
</properties>
|
||||||
</persistence-unit>
|
</persistence-unit>
|
||||||
</persistence>
|
</persistence>
|
Loading…
Reference in New Issue
Block a user