Skip to content

Commit

Permalink
change hibernate.hbm2ddl.auto to update
Browse files Browse the repository at this point in the history
  • Loading branch information
guidograzioli committed Sep 28, 2022
1 parent 1083675 commit c0f28f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<artifactId>addressbook</artifactId>
<packaging>war</packaging>
<name>addresbook</name>
<version>1.0.6</version>
<version>1.0.7</version>

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/persistence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<jta-data-source>java:jboss/datasources/AddressbookDS</jta-data-source>
<properties>
<!-- Properties for Hibernate -->
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.show_sql" value="true" />
</properties>
</persistence-unit>
</persistence>
</persistence>

0 comments on commit c0f28f8

Please sign in to comment.