jBPM not support Hibernate 3.6 on oracle db
-------------------------------------------
Key: JBPM-2967
URL:
https://jira.jboss.org/browse/JBPM-2967
Project: jBPM
Issue Type: Bug
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
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.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira