[jboss-user] [jBPM] - Re: Human task + HornetQ + persistence + MySQL => ununderstanding stacktrace
Sandra Renaud
do-not-reply at jboss.com
Fri Oct 26 10:00:30 EDT 2012
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/772569#772569
--------------------------------------------------------------
whew, it works at least! I success to save my first task with the correct potowner.
I think other change will be needed to Taskorm.xml, but for the moment I just add :
> <entity class="org.jbpm.task.Task" metadata-complete="false">
> <attributes>
> <id name="id">
> <column name="id" />
> <generated-value strategy="IDENTITY "/>
> </id>
> </attributes>
> </entity>
> <entity class="org.jbpm.task.I18NText" metadata-complete="false">
> <attributes>
> <id name="id">
> <column name="id" />
> <generated-value strategy="IDENTITY "/>
> </id>
> </attributes>
> </entity>
> <entity class="org.jbpm.task.Content" metadata-complete="false">
> <attributes>
> <id name="id">
> <column name="id" />
> <generated-value strategy="IDENTITY "/>
> </id>
> </attributes>
> </entity>
after named-queries and change the entity mapping tag for jpa2:
> <entity-mappings xmlns=" http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm"
> xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation=" http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd"
> version="2.0">
>
See you next configuration problem.
Regards,
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/772569#772569]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121026/4b05bc8a/attachment.html
More information about the jboss-user
mailing list