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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to