added facet type='jpa' configuration
This commit is contained in:
parent
5b3f7a7c4e
commit
a870c28d21
@ -8,6 +8,16 @@
|
||||
</webroots>
|
||||
</configuration>
|
||||
</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 name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
|
@ -5,11 +5,11 @@
|
||||
version="2.2">
|
||||
<persistence-unit name="MoviesPU">
|
||||
<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>
|
||||
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL8Dialect"/>
|
||||
<property name="hibernate.show_sql" value="true" />
|
||||
<property name="hibernate.hbm2ddl.auto" value="update"/>
|
||||
<property name="hibernate.hbm2ddl.auto" value="update" />
|
||||
</properties>
|
||||
</persistence-unit>
|
||||
</persistence>
|
||||
|
Loading…
x
Reference in New Issue
Block a user