UPDATE:
* I've seen the error occurred is "Activiti database problem: Tables missing for component(s) identity", but I cannot locate which table cannot be properly loaded…
* I've search there is other methods to deal with our use case, such as customizing a SessionFactory. But we are originally .Net developing team (the business system was built in .Net), so we are obliged to know if it's theoretically possible to HACK the problem in an easier way.
* We have no needs to do Create/Update/Delete on identity tables from the Activiti engine.