Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Strange behavior with jbpm and mysql"
To view the discussion, visit:
https://community.jboss.org/message/735278#735278
--------------------------------------------------------------
This is caused due to both runtime engine and bam module share the same persistence unit
and if you have there ddl generation set to create it will rebuild the schema every time
entity manager factory is created, meaning two time: first time when you build the session
and then when the bam module is initialized for instance when you view process instances
in the console.
So your conclusion is right, setting it to update is the right setting.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/735278#735278]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]