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
--------------------------------------------------------------
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
[
http://community.jboss.org/message/643635#643635]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]