added facet type='jpa' configuration
This commit is contained in:
parent
5b3f7a7c4e
commit
a870c28d21
@ -8,6 +8,16 @@
|
|||||||
</webroots>
|
</webroots>
|
||||||
</configuration>
|
</configuration>
|
||||||
</facet>
|
</facet>
|
||||||
|
<facet type="jpa" name="JPA">
|
||||||
|
<configuration>
|
||||||
|
<setting name="validation-enabled" value="true" />
|
||||||
|
<datasource-mapping>
|
||||||
|
<factory-entry name="MoviesPU" />
|
||||||
|
</datasource-mapping>
|
||||||
|
<naming-strategy-map />
|
||||||
|
<deploymentDescriptor name="persistence.xml" url="file://$MODULE_DIR$/src/main/resources/META-INF/persistence.xml" />
|
||||||
|
</configuration>
|
||||||
|
</facet>
|
||||||
</component>
|
</component>
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
|
||||||
<output url="file://$MODULE_DIR$/target/classes" />
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
version="2.2">
|
version="2.2">
|
||||||
<persistence-unit name="MoviesPU">
|
<persistence-unit name="MoviesPU">
|
||||||
<jta-data-source>java:jboss/datasources/MoviesDS</jta-data-source>
|
<jta-data-source>java:jboss/datasources/MoviesDS</jta-data-source>
|
||||||
<!-- <jar-file>lib/MoviesCommon-1.0.0-SNAPSHOT.jar</jar-file> -->
|
<jar-file>lib/MoviesCommon-1.0.0-SNAPSHOT.jar</jar-file>
|
||||||
<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" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user