JBoss Community

Avoid using hibernate in JBPM 4.4

created by Dario Salvi in jBPM - View the full discussion

Hi,

 

I am using JBPM 4.4 as a library within a framework I have made myself.

I am not interested in persistence at all, thus I would like to get rid of all the hibernate jars and its configuration.

Most importantly, I am getting an exception while trying to save a variable:

 

instance not of expected entity type: org.jbpm.pvm.internal.type.variable.UnpersistableVariable is not a: org.jbpm.pvm.internal.type.Variable

 

which I guess depends on the fact that the variable I am creating is an object I internally use which hibernate does not know how treat.

 

Is there some way to completely remove hibernate from jbpm?

 

If not, which would be the simplest way to avoid this exception?

 

 

Thanks in advance,

 

 

Dario

Reply to this message by going to Community

Start a new discussion in jBPM at Community