cuba-platform / bpm

Business Process Management Addon
https://www.cuba-platform.com/
Apache License 2.0
43 stars 23 forks source link

Process starting may not work for MySQL database #46

Open gorbunkov opened 5 years ago

gorbunkov commented 5 years ago

Forum topic: https://www.cuba-platform.com/discuss/t/start-bpm-from-service-failed/8376 The problem is that MySQL has a default transaction isolation level REPEATABLE READ while most other databases use the READ COMMITTED by default. For REPEATABLE READ level an NPE may be thrown (see the project from the sample). The workaround is to change the isolation level to READ COMMITTED.