[jboss-user] [jBPM] - Re: jbpm 5.3.final postgres issue
Miloud Haimoune
do-not-reply at jboss.com
Wed Jul 4 09:08:21 EDT 2012
Miloud Haimoune [https://community.jboss.org/people/milhaim] created the discussion
"Re: jbpm 5.3.final postgres issue"
To view the discussion, visit: https://community.jboss.org/message/746075#746075
--------------------------------------------------------------
I solved this issue,
in persistence.xml I had : <mapping-file>META-INF/ProcessInstanceInfo.hbm.xml</mapping-file>
and I added the ProcessInstanceInfo.hbm.xml file in the same place as persistence.xml.
what I did'nt know jbpm-persistence-jpa-5.3.0.Final.jar comes with it's oun ProcessInstanceInfo.hbm.xml file,
So by changing the name of the file ProcessInstanceInfo.hbm.xml to (ProcessInstanceInfo_P.hbm.xml) in the folder META-INF of my project
and adding <mapping-file>META-INF/ProcessInstanceInfo_P.hbm.xml</mapping-file> (remove the old one) in my persistence.xml
and changing in ProcessInstanceInfo_P.hbm.xml file:
<property name="processInstanceByteArray" type="org.jbpm.persistence.processinstance.BlobUserType"
column="processInstanceByteArray" access="field" length="2147483647" />
to
<property name="processInstanceByteArray" type="org.hibernate.type.PrimitiveByteArrayBlobType" access="field" >
<column name="processInstanceByteArray" sql-type="oid"/>
</property>
this fix my issue
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/746075#746075]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120704/f707af55/attachment.html
More information about the jboss-user
mailing list