According to issue it is possible to specify a database table prefix.
This is indeed possible when using the activiti.cfg.xml.
But when using code the following is not possible:
Somehow this method is not available directly on the ProcessEngineConfiguration. Tijs Rademakers suggested to cast the config to ProcessEngineConfigurationImpl which solves my problem but doesn't feel like the right solution.