[jboss-user] [jBPM] - Re: jBPM5.3 with postgres and hibernates mapping of processInstanceByteArray

Andrea Carpineti do-not-reply at jboss.com
Tue Jul 24 09:45:34 EDT 2012


Andrea Carpineti [https://community.jboss.org/people/acarpine] created the discussion

"Re: jBPM5.3 with postgres and hibernates mapping of processInstanceByteArray"

To view the discussion, visit: https://community.jboss.org/message/749908#749908

--------------------------------------------------------------
Hi hamsterdancer and thanks for your hint.

Trying to setup the persistence with Postgres, I stumbled upon your same exception so I changed the file *+${install.home}/+db/ProcessInstanceInfo.hbm.xml* from:
> <property name="processInstanceByteArray" type="org.jbpm.persistence.processinstance.BlobUserType" 
>             column="processInstanceByteArray" access="field" />
to:
> <property name="processInstanceByteArray" type="org.hibernate.type.PrimitiveByteArrayBlobType" 
>             column="processInstanceByteArray" access="field" length="2147483647" />

but trying to start a process I still have the same exception.
After that I changed also another ProcessInstanceInfo.hbm.xml in *+${install.home}+/runtime/jbpm-persistence-jpa-5.3.0.Final.jar* but the exception is still there.

Any idea?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/749908#749908]

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/20120724/7b759e88/attachment.html 


More information about the jboss-user mailing list