Sandra Renaud [
https://community.jboss.org/people/joploya] created the discussion
"Re: Human task + HornetQ + persistence + MySQL => ununderstanding
stacktrace"
To view the discussion, visit:
https://community.jboss.org/message/772527#772527
--------------------------------------------------------------
After searching, I found that the main problem comes from the GeneratorId of Task.
The AUTO GenerationType let MySQL choose how to implements the id generation. But the
created table have no autoIncrement option and no default value.
If I add manually a defaut value I obtain an error like
Caused by: org.hibernate.HibernateException: The database returned no
natively generated identity value
I could check manually the option "Auto increment" in MySQL but I would like to
do this automatically at the tables creation. But how can I do that without change the
GenerationType to IDENTITY?
Should I change the Taskorm.xml like for jbpm-console?
Thanks to help.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/772527#772527]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]