[jboss-user] [jBPM] - Avoid using hibernate in JBPM 4.4

Dario Salvi do-not-reply at jboss.com
Wed Dec 28 14:04:41 EST 2011

Dario Salvi [http://community.jboss.org/people/dsalvi] created the discussion

"Avoid using hibernate in JBPM 4.4"

To view the discussion, visit: http://community.jboss.org/message/643635#643635


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,


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111228/38691a0b/attachment.html 

More information about the jboss-user mailing list