I found a solution for both problems. Now I deploy my entities in a jar file into the
deploy directory. This makes sure that the entities get deployed before the EAR package
with the portlet does. I am also using the Seam-managed persistence context to avoid the
problem when redeploying the entities.
I am not quit confident about my second solution. The problem is that I don't know
what the difference is between a
Seam-managed persistence context and a normal (extende) persistence context. Can anyone
elaborate on that?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970758#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...