I'm trying to setup Activiti to use a specific schema in a postgres database. This schema is already present and the tables are created.
When only setting the DatabaseSchema in the ProcessEngineConfiguration I'm getting the following errormessage during startup:
Somehow the schema-name is used properly when checking if the tables are present (see method isTablePresent in DbSqlSession. But not when performing the dbVersionCheck. It seems to me that the wrong version of the DbSqlSession is used (the one without the schema parameter).
When only setting the DatabaseTablePrefix in the ProcessEngineConfiguration I'm getting the following errormessage during startup:
When debugging and setting the schema variable manually in the isTablePresent method during startup it's starting up correctly.