public void deployProcess() throws Exception{
ZipInputStream zipinput =null;
try{
zipinput = new ZipInputStream(new FileInputStream("C:/Users/Thinkpad/Desktop/test.zip"),Charset.forName("gbk"));
processEngine.getRepositoryService().createDeployment()
.addResourcesFromZipInputStream(zipinput)
.deploy();
}finally{
zipinput.close();
}
用上面的部署产生如下错误
Caused by: java.sql.BatchUpdateException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'é•¥sQ韡??昃g迃烧:;ç�„?\0Bé�°NI8x丢I艆G6l膂k?iæ£Šé¢ˆæ¬ Q??嘒nMæª—ç± 0' at line 1
貌似用zip需要改成utf8.。。。。但是这么存入后,jbpm4_lob又是乱码的。。。。