DB.verifyClean() in JbpmTestCase.tearDown() fails with DB2
----------------------------------------------------------
Key: JBPM-2847
URL:
https://jira.jboss.org/jira/browse/JBPM-2847
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.3
Environment: JBPM 4.3 on DB2 v9 database. All tables in JBPMDB schema.
Reporter: Joost den Boer
At the end of a JbpmTestCase the database is cleaned. This fails for a DB2 database
because the default schema is not added to the table name.
The created query is "select count(*) as RECORD_COUNT_ from JBPM4_DEPLOYMENT",
but this should be "select count(*) as RECORD_COUNT_ from
JBPMDB.JBPM4_DEPLOYMENT".
The schema name is available in the SessionFactory Settings so should not be to difficult
to fix this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira