flowable 6.7.2 mysql 5.7
配置了自动创建或更新表结构
configuration.setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE);
然而,启动报错
java.sql.SQLSyntaxErrorException: Table ‘psr_flowable_test.act_ge_property’ doesn’t exist
数据库没有初始化
方法 1. 链接字符串需加上参数
nullCatalogMeansCurrent=true
如
configuration.setJdbcUrl("jdbc:mysql://localhost:3306/flowable_test?nullCatalogMeansCurrent=true");
方法 2. 配置中指定catalog name
configuration.setDatabaseCatalog("flowable_test");