]
Alejandro Guizar updated JBPM-2967:
-----------------------------------
Issue Type: Feature Request (was: Bug)
Fix Version/s: jBPM 4.x
jBPM not support Hibernate 3.6 on oracle db
-------------------------------------------
Key: JBPM-2967
URL:
https://jira.jboss.org/browse/JBPM-2967
Project: jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: jBPM 4.4
Environment: oracle 10g, hibernate 3.6, jBPM 3.6, java 1.6, windows 7
Reporter: Mark Li
Labels: hibernate, jBPM, oracle
Fix For: jBPM 4.x
following code will throw a cant cast to oracle.sql.BLOB exception!
ProcessEngine processEngine = new
Configuration().setResource("cn/ac/iitcm/cmcollect/jbpm.cfg.xml").buildProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
NewDeployment deployment = repositoryService.createDeployment();
String id =
deployment.addResourceFromClasspath("cn/ac/iitcm/cmcollect/collectprocess.jpdl.xml").deploy();
if I change to setBlob to setBinaryStream, this exception will pass, but other exception
appears:
It will break constraint for JBPM_DEPLOYMENT.
hibernate 3.6 is much more faster than 3.6, I donot want to switch back. please correct
this. thanks.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: