Skip to content

Commit

Permalink
[JBPM-10186] drop-script-source for h2 test must be absolute path (#2312
Browse files Browse the repository at this point in the history
) (#2313)

Co-authored-by: Gonzalo Muñoz <gmunozfe@redhat.com>
  • Loading branch information
github-actions[bot] and gmunozfe authored Aug 14, 2023
1 parent f889726 commit cae9e9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<property name="hibernate.dialect" value="${org.jbpm.persistence.dialect}" />
<property name="hibernate.hbm2ddl.auto" value="${hibernate.hbm2ddl.auto}" />
<property name="hibernate.transaction.jta.platform" value="${container.tm}" />
<property name="javax.persistence.schema-generation.drop-source" value="${org.jbpm.drop.source}" />
<property name="javax.persistence.schema-generation.drop-script-source" value="${org.jbpm.drop.script}" />
<!-- BZ 841786: AS7/EAP 6/Hib 4 uses new (sequence) generators which seem to cause problems -->
<property name="hibernate.id.new_generator_mappings" value="false"/>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion jbpm-container-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<org.jbpm.persistence.ds/>
<hibernate.hbm2ddl.auto>create-drop</hibernate.hbm2ddl.auto>
<org.jbpm.drop.source>script</org.jbpm.drop.source>
<org.jbpm.drop.script>drop-tables.sql</org.jbpm.drop.script>
<org.jbpm.drop.script>${project.basedir}/src/test/resources/drop-tables.sql</org.jbpm.drop.script>

<!-- Common container-related properties -->

Expand Down

0 comments on commit cae9e9a

Please sign in to comment.