[jboss-user] [JBoss jBPM] - Re: JBPM 4.0 on DB2

shiyeling do-not-reply at jboss.com
Mon Aug 3 21:38:33 EDT 2009


I tried jbpm4 on DB2 9.5.
There is no db script for DB2, so you can use hibernate to auto generate the schema.
The only tweak I did is change mapping definition for class Lob in  the jbpm.execution.hbm.xml mapping file,add a length attribute to the BLOB_VALUE column. like this:



This is for one problem hibernate has with DB2,( or DB2 has with hibernate).
you can find more information here:
http://antagonisticpleiotropy.blogspot.com/2008/05/ibm-db2-blobs-hibernate-truncating.html

After that, everything is fine.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247722#4247722

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247722



More information about the jboss-user mailing list